summaryrefslogtreecommitdiffhomepage
path: root/alias.c
diff options
context:
space:
mode:
Diffstat (limited to 'alias.c')
-rw-r--r--alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alias.c b/alias.c
index 14b4c8f..e77deff 100644
--- a/alias.c
+++ b/alias.c
@@ -126,7 +126,7 @@ static int alias_check_state(struct device *dev)
iface = vlist_find(&interfaces, alias->name, iface, node);
if (iface && iface->state == IFS_UP)
- ndev = iface->main_dev.dev;
+ ndev = iface->l3_dev.dev;
__alias_notify_device(alias, ndev);