diff options
author | Sridhar Gujje <sgujje@codeaurora.org> | 2014-10-08 10:52:14 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2014-11-04 08:45:05 -0700 |
commit | 6c20a7ae65a626813ec9d7a8a2887193c2343e07 (patch) | |
tree | 309d33b19f46d3f0dfcab73a48e22cd3542c5841 | |
parent | 39e3ece2b698760ff9454a5e4b780fd2ce0dad44 (diff) | |
download | android_external_dnsmasq-stable/cm-12.1-YOG7D.tar.gz android_external_dnsmasq-stable/cm-12.1-YOG7D.tar.bz2 android_external_dnsmasq-stable/cm-12.1-YOG7D.zip |
dnsmasq: Revert change for updating listeners when interface set changes.staging/cm-12.1staging/cm-12.0-cafstable/cm-12.1-YOG7Dstable/cm-12.1-YOG4Pstable/cm-12.1-YOG3Cstable/cm-12.0-YNG4Nstable/cm-12.0-YNG3Cstable/cm-12.0-YNG1TAstable/cm-12.0-YNG1Tstable/cm-12.0-YNG1Icm-12.1cm-12.0
This is now handled by the function
fixup_possible_existing_listener
Change-Id: Iedde8317b619830a494f7d1d82b3da7a6c6ac9e5
-rw-r--r-- | src/network.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/network.c b/src/network.c index 6a8a433..5880974 100644 --- a/src/network.c +++ b/src/network.c @@ -986,21 +986,6 @@ void set_interfaces(const char *interfaces) close_bound_listener(old_iface); } - else - { - struct listener **l, *listener; - for (l = &(daemon->listeners); *l; l = &((*l)->next)) { - struct irec *listener_iface = (*l)->iface; - if (listener_iface && new_iface) { - if (sockaddr_isequal(&listener_iface->addr, &new_iface->addr)) { - break; - } - } - } - listener = *l; - if ( listener ) - listener->iface = new_iface; - } } /* remove wildchar listeners */ |