From 9a6b1d36a6e615914f6bbfc2bd79e4dd0c0916b3 Mon Sep 17 00:00:00 2001 From: Bryce Larson Date: Sat, 23 Nov 2019 03:27:33 -0700 Subject: [PATCH] adding anycast address support to routes --- salt/modules/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/network.py b/salt/modules/network.py index 8b4dfcead469..97697697795c 100644 --- a/salt/modules/network.py +++ b/salt/modules/network.py @@ -548,7 +548,7 @@ def _ip_route_linux(): 'flags': 'UG', 'interface': ip_interface}) - elif comps[0] == "local": + elif comps[0] in ("anycast", "local"): ip_interface = '' if comps[2] == "dev": ip_interface = comps[3]