diff --git a/Products/DataCollector/plugins/zenoss/cmd/linux/netstat_rn.py b/Products/DataCollector/plugins/zenoss/cmd/linux/netstat_rn.py index faef70f437..78a62152c8 100644 --- a/Products/DataCollector/plugins/zenoss/cmd/linux/netstat_rn.py +++ b/Products/DataCollector/plugins/zenoss/cmd/linux/netstat_rn.py @@ -29,9 +29,9 @@ # 10.111.23.0/24 dev eth0 proto kernel scope link src 10.111.23.72 # 192.168.99.0/24 dev eth0 scope link IP_ROUTE_RECORD = re.compile( - r"^(\S+)\s+dev\s+(\S+)\s+proto\s+(\S+)\s+scope\s+link\s+" + r"^(\S+/\d+)\s+dev\s+(\S+)\s+proto\s+(\S+)\s+scope\s+link\s+" ) -IP_ROUTE_RECORD_SHORT = re.compile(r"^(\S+)\s+dev\s+(\S+)\s+scope\s+link\s+") +IP_ROUTE_RECORD_SHORT = re.compile(r"^(\S+/\d+)\s+dev\s+(\S+)\s+scope\s+link\s+") class BaseParser(object):