Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
902f78a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked this patch and it seems to apply. However, I don't get exactly what it's doing. It does not seem to fix the case where we are selectively trying to ignore multiple NonOlsrIf's in /etc/config/olsrd, which is what I thought this was going to help with.
I did test this by doing 'ifdown plug && ifup plug' and it seems to "ignore" the plug when reconfiguring the plugin upon notification by the hotplugs. This is good!
Thanks, as always, for doing this work, Dan!
902f78a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Be default, both plug and ap/secAp are added as NonOlsrIf's in /etc/config/olsrd. The point of this patch is to not add plug to NonOlsrIf, so that only ap/secAp will be listed as NonOlsrIf. Does that make sense? Of course, if this patch is added to a node that already has plug listed in NonOlsrIf, this won't change it. But it also won't add it by default for a newly flashed node.
Does that make sense?
902f78a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.