def METHOD_NAME(self):
    self.last_transmitted_bytes = 0
    self.last_received_bytes = 0
    self.last_time = time.monotonic()
    # Get default gateway from /proc.
    if self.nic is None:
        with Path("/proc/net/route").open() as fh:
            for line in fh:
                fields = line.strip().split()
                if fields[1] == "00000000" and int(fields[3], 16) & 2:
                    self.nic = fields[0]
                    break
        if self.nic is None:
            self.nic = "lo"
        self.py3.log(f"selected nic: {self.nic}")
    self.thresholds_init = self.py3.get_color_names_list(self.format)