summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/lcp_opt_mru.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ppp/lcp_opt_mru.c')
-rw-r--r--accel-pppd/ppp/lcp_opt_mru.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/ppp/lcp_opt_mru.c b/accel-pppd/ppp/lcp_opt_mru.c
index 78e06b5..577e019 100644
--- a/accel-pppd/ppp/lcp_opt_mru.c
+++ b/accel-pppd/ppp/lcp_opt_mru.c
@@ -186,10 +186,11 @@ static void load_config(void)
}
}
-static void __init mru_opt_init()
+static void mru_opt_init()
{
load_config();
lcp_option_register(&mru_opt_hnd);
triton_event_register_handler(EV_CONFIG_RELOAD, (triton_event_func)load_config);
}
+DEFINE_INIT(4, mru_opt_init);