Message ID | 20231129062109.1270106-3-gerickson@nuovations.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | Rename 'disable_gateway' and 'del_routes' | expand |
diff --git a/src/connection.c b/src/connection.c index 547a47cf8b6f..23adf570120a 100644 --- a/src/connection.c +++ b/src/connection.c @@ -567,7 +567,7 @@ static void set_vpn_routes(struct gateway_data *new_gateway, } } -static int del_routes(struct gateway_data *data, +static int del_gateway_routes(struct gateway_data *data, enum connman_ipconfig_type type) { int status4 = 0, status6 = 0; @@ -640,7 +640,7 @@ static int del_gateway_routes_if_active(struct gateway_data *data, DBG("type %d active %d", type, active); if (active) - return del_routes(data, type); + return del_gateway_routes(data, type); return 0; }