diff --git a/scripts/route_check.py b/scripts/route_check.py index bcdd0e662a..c13dc607b3 100755 --- a/scripts/route_check.py +++ b/scripts/route_check.py @@ -399,7 +399,7 @@ def filter_out_vnet_routes(routes): vnet_routes = [] for vnet_route_db_key in vnet_routes_db_keys: - vnet_route_attrs = vnet_route_db_key.split(':') + vnet_route_attrs = vnet_route_db_key.split(':', 1) vnet_name = vnet_route_attrs[0] vnet_route = vnet_route_attrs[1] vnet_routes.append(vnet_route)