Skip to content

Commit bd2f346

Browse files
authored
Merge pull request #1285 from kernelkit/yanger-robustness
2 parents ba87358 + 173daf8 commit bd2f346

File tree

1 file changed

+4
-0
lines changed
  • src/statd/python/yanger/ietf_interfaces

1 file changed

+4
-0
lines changed

src/statd/python/yanger/ietf_interfaces/link.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ def interfaces(ifname=None):
162162
if iplink.get("group") == "internal":
163163
continue
164164

165+
link_type = iplink.get("link_type")
166+
if link_type in ("can", "vcan"):
167+
continue
168+
165169
ipaddr = addrs.get(ifname, {})
166170

167171
interfaces.append(interface(iplink, ipaddr))

0 commit comments

Comments
 (0)