diff options
author | Steven Barth <steven@midlink.org> | 2013-01-16 14:56:10 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-16 16:06:07 +0100 |
commit | 74de0901a05271f51ec42beef649e1cc0abc917f (patch) | |
tree | 0d01ba8ad427280aa55bcbdfba1016d00796a52b /interface.c | |
parent | 72ebaba19ded36b101f3be0f233361970f8eec13 (diff) |
alias: use layer 3 device instead of main device
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.c b/interface.c index 352c734..591c0f5 100644 --- a/interface.c +++ b/interface.c @@ -163,7 +163,7 @@ interface_event(struct interface *iface, enum interface_event ev) switch (ev) { case IFEV_UP: - adev = iface->main_dev.dev; + adev = iface->l3_dev.dev; /* fall through */ case IFEV_DOWN: alias_notify_device(iface->name, adev); |