summaryrefslogtreecommitdiff
path: root/accel-pppd/iprange.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/iprange.c')
-rw-r--r--accel-pppd/iprange.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/iprange.c b/accel-pppd/iprange.c
index 411dcb76..315a572f 100644
--- a/accel-pppd/iprange.c
+++ b/accel-pppd/iprange.c
@@ -138,9 +138,10 @@ int __export iprange_tunnel_check(in_addr_t ipaddr)
return !check_range(&client_ranges, ipaddr);
}
-static void __init iprange_init(void)
+static void iprange_init(void)
{
load_ranges(&client_ranges, "client-ip-range");
//load_ranges(&tunnel_ranges, "tunnel-ip-range");
}
+DEFINE_INIT(10, iprange_init);