add a section pointer to the proto attach callback
[project/netifd.git] / proto.c
diff --git a/proto.c b/proto.c
index ea6e138..3161e01 100644 (file)
--- a/proto.c
+++ b/proto.c
@@ -78,7 +78,7 @@ void proto_attach_interface(struct interface *iface, struct uci_section *s)
                goto error;
        }
 
-       state = proto->attach(proto, iface);
+       state = proto->attach(proto, iface, s);
 
 error:
        if (error) {