From 902f78a51609994025d0bc5a9c50932b6bfbe68e Mon Sep 17 00:00:00 2001 From: Dan Staples Date: Sat, 6 Jul 2013 09:41:38 -0400 Subject: [PATCH] dnssd should not use plug as NonOlsrIf; it should only use one iface for this option: ap or secAp. This should fix the dnssd bug we saw at AMC, which causes massive instability with wireless mesh links. For testing, the nodes at LTS should be reflashed with this change, and tested in a configuration similar to AMC MagicNet, with both wired and wireless mesh links. --- default-files/etc/hotplug.d/iface/20-olsrd | 3 --- 1 file changed, 3 deletions(-) diff --git a/default-files/etc/hotplug.d/iface/20-olsrd b/default-files/etc/hotplug.d/iface/20-olsrd index 6cc8b34..920c70c 100644 --- a/default-files/etc/hotplug.d/iface/20-olsrd +++ b/default-files/etc/hotplug.d/iface/20-olsrd @@ -324,11 +324,9 @@ case "$(commotion state "$DEVICE" type)" in eval `ipcalc.sh "$(uci_get_state network "$INTERFACE" ipaddr)" "$(uci_get_state network "$INTERFACE" netmask)"` $DEBUG unset_olsrd_if $INTERFACE $DEBUG set_olsrd_hna4 $NETWORK $NETMASK $INTERFACE - $DEBUG set_olsrd_dnssd $INTERFACE ;; 0) $DEBUG unset_olsrd_hna4 $INTERFACE - $DEBUG unset_olsrd_dnssd $INTERFACE $DEBUG set_olsrd_if $INTERFACE ;; esac @@ -336,7 +334,6 @@ case "$(commotion state "$DEVICE" type)" in ifdown) $DEBUG unset_olsrd_if $INTERFACE $DEBUG unset_olsrd_hna4 $INTERFACE - $DEBUG unset_olsrd_dnssd $INTERFACE ;; esac