diff options
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 acfe8b1..72ecf4d 100644 --- a/interface.c +++ b/interface.c @@ -219,7 +219,7 @@ interface_alloc(const char *name, struct blob_attr *attr) iface = calloc(1, sizeof(*iface)); iface->main_dev.cb = interface_cb; - iface->l3_iface = &iface->main_dev; + iface->l3_dev = &iface->main_dev; strncpy(iface->name, name, sizeof(iface->name) - 1); list_add_tail(&iface->list, &interfaces); INIT_LIST_HEAD(&iface->errors); |