netenglabs / suzieq

Using network observability to operate and design healthier networks
https://www.stardustsystems.net/
Apache License 2.0
787 stars 104 forks source link

confutils: portmode regexp string fixup #846

Closed ddutt closed 1 year ago

ddutt commented 1 year ago

When an interface has a port ACL such as this:

interface Ethernet1/1
  no switchport
  mtu 9216
  ip access-group foo in
  ip access-group bar out
  ip address 10.16.1.95/31
  ip pim sparse-mode

We incorrectly detected this as an access port instead of a routed port. This patch fixes the regexp to match access ports to avoid this bug.

Signed-off-by: Dinesh Dutt dd.ps4u@gmail.com