diff --git a/src/openvpn/init.c b/src/openvpn/init.c index 079c4f5e18f..c64b85f8b59 100644 --- a/src/openvpn/init.c +++ b/src/openvpn/init.c @@ -890,17 +890,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();