diff --git a/src/openvpn/init.c b/src/openvpn/init.c index ca42c926567..9972ed711ae 100644 --- a/src/openvpn/init.c +++ b/src/openvpn/init.c @@ -880,17 +880,6 @@ init_static(void) return false; #endif -#ifdef TEST_GET_DEFAULT_GATEWAY - { - struct route_gateway_info rgi; - struct route_ipv6_gateway_info rgi6; - get_default_gateway(&rgi); - get_default_gateway_ipv6(&rgi6, NULL); - print_default_gateway(M_INFO, &rgi, &rgi6); - return false; - } -#endif - #ifdef GEN_PATH_TEST { struct gc_arena gc = gc_new();