summaryrefslogtreecommitdiff
path: root/interface.c
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2015-08-21 10:11:56 +0800
committerSteven Barth <steven@midlink.org>2015-08-25 08:26:56 +0200
commit11c7cf99c362b9dc33c6d1aa209321e38d131128 (patch)
tree707dc027310f73bced846cecfb1b9bc1fcc94df0 /interface.c
parent5f0e4070402ff056584eac5afed490cd0a407697 (diff)
downloadnetifd-11c7cf99c362b9dc33c6d1aa209321e38d131128.tar.gz
Changes for more readability.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c4
1 files changed, 2 insertions, 2 deletions
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;
}