X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=interface.c;h=ffe79880779081327c2a5741310218c696c0efa6;hp=848990eae5b5a305d120192fe5fe9b377116e11e;hb=11c7cf99c362b9dc33c6d1aa209321e38d131128;hpb=5f0e4070402ff056584eac5afed490cd0a407697 diff --git a/interface.c b/interface.c index 848990e..ffe7988 100644 --- a/interface.c +++ b/interface.c @@ -649,7 +649,7 @@ interface_handle_config_change(struct interface *iface) } static void -interface_proto_cb(struct interface_proto_state *state, enum interface_proto_event ev) +interface_proto_event_cb(struct interface_proto_state *state, enum interface_proto_event ev) { struct interface *iface = state->iface; @@ -708,7 +708,7 @@ void interface_set_proto_state(struct interface *iface, struct interface_proto_s if (!state) return; - state->proto_event = interface_proto_cb; + state->proto_event = interface_proto_event_cb; state->iface = iface; }