]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Bug #655 Added refid for broadcast mode
authorDanny Mayer <mayer@ntp.org>
Mon, 18 Sep 2006 20:17:26 +0000 (16:17 -0400)
committerDanny Mayer <mayer@ntp.org>
Mon, 18 Sep 2006 20:17:26 +0000 (16:17 -0400)
bk: 450efed6vXxuMhKWpUeP1hYVSjijAA

ntpd/ntp_io.c

index 55b7bf534876da746cfdd95bbd9287b45502f696..eb7a2158e844e82bf77c8ee1c9b1bd52edde6a1e 100644 (file)
@@ -1835,6 +1835,7 @@ io_setbclient(void)
                        nif++;
                        netsyslog(LOG_INFO,"io_setbclient: Opened broadcast client on interface #%d %s, socket: %d",
                                  interf->ifnum, interf->name, fd);
+                       interf->addr_refid = addr2refid(&interf->sin);
                }
        }
        set_reuseaddr(0);