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>
Wed, 3 Sep 2014 13:01:44 +0000 (15:01 +0200)
commit06158b911e2803fccbc9ed19ad61785d6224b4c2
tree8cedd2a0eb5002dd406c0e73e7f70ffdb4a8613d
parenta7a090d12e6e6db25f10b8f5af273cab4512f5b3
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