[Commotion-admin] [commotiond] Fix bridge support (#131)

Josh King notifications at github.com
Thu Jun 4 16:31:16 EDT 2015


This pull request fixes bridging again, to account for the fact that netifd now seems to send events when an interface is physically plugged or unplugged. Incidentally, this makes it so in the default 'auto' mode, the ethernet interface will attempt to detect whether it is a gateway every time the interface is plugged in, not just when the node is booted.

Also contains some much needed some much-needed cleanup of egregious indentation in the protocol handler script.
You can view, comment on, or merge this pull request online at:

  https://github.com/opentechinstitute/commotiond/pull/131

-- Commit Summary --

  * Fix bridge auto detection, massively clean up indentation in protocol handler script.
  * Rename set_ and unset_bridge functions to more general add_ and remove_device.
  * Turn down default DHCP timeout, add configurable number of DHCP attempts.

-- File Changes --

    M openwrt/etc/config/commotiond (1)
    M openwrt/lib/functions/commotion.sh (14)
    M openwrt/lib/netifd/proto/commotion.sh (232)

-- Patch Links --

https://github.com/opentechinstitute/commotiond/pull/131.patch
https://github.com/opentechinstitute/commotiond/pull/131.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotiond/pull/131
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20150604/e0655604/attachment.html>


More information about the Commotion-admin mailing list