babeld: Take interface name from "option ifname"
authorBaptiste Jonglez <baptiste--git@jonglez.org>
Fri, 29 Aug 2014 06:43:17 +0000 (08:43 +0200)
committerBaptiste Jonglez <baptiste--git@jonglez.org>
Fri, 29 Aug 2014 08:19:42 +0000 (10:19 +0200)
commit539de92a4c672937b2bae5448c4b20357c3a600f
tree7ff6ce4b47827083231d58214bc43dc61097d664
parenta4f5570e79665ce41558ddbd4175dfc84e198744
babeld: Take interface name from "option ifname"

Previously, we were using the name of the section as the interface name,
but this has several drawbacks:

- no "-" or other special characters are allowed in a section name,
  preventing some physical interface names to be specified this way
  (e.g. "tun-topeka" would not work)
- it is harder to support default interface options (no interface name)

This change is not backward compatible, but a later commit will fix that.
babeld/files/babeld.init