]> git.ipfire.org Git - thirdparty/hostap.git/commit
bridge: Use safe default bridge interface
authorMichael Braun <michael-dev@fami-braun.de>
Tue, 25 Jun 2013 08:10:00 +0000 (11:10 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 25 Jun 2013 08:10:00 +0000 (11:10 +0300)
commit459eee923c02675890e9cc94086da8866180c944
treece6fed75e94ad5641a4a41af439421071195245d
parent2aaeedfa07594ada51cb9672041679cfe58a2729
bridge: Use safe default bridge interface

Currently by default, all BSS share the bridge brvlan%d.
While this is sane when no tagged-interface is given, this
is insane when different tagged interfaces are given, as
it would result in bridging those tagged interfaces.

This patch therefore uses br%s%d with %s=tagged_interface
and %d=VLAN ID as bridge name when a tagged-interface is given.

Signed-hostap: Michael Braun <michael-dev@fami-braun.de>
hostapd/hostapd.conf
src/ap/vlan_init.c