Ignore routes that are not static manually added (#29094)

Fixes #28841
(cherry picked from commit f9f0472ba5)
pull/30252/head
Ricardo Carrillo Cruz 8 years ago committed by Toshio Kuratomi
parent 4067c3616c
commit 2f0144b26a

@ -137,6 +137,11 @@ def map_config_to_obj(module):
for r in match.group(1).splitlines():
splitted_line = r.split()
code = splitted_line[0]
if code != 'M':
continue
cidr = ip_network(to_text(splitted_line[1]))
prefix = str(cidr.network_address)
mask = str(cidr.netmask)

Loading…
Cancel
Save