mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-01 05:13:01 +02:00
Merge pull request #1285 from kernelkit/yanger-robustness
This commit is contained in:
@@ -162,6 +162,10 @@ def interfaces(ifname=None):
|
||||
if iplink.get("group") == "internal":
|
||||
continue
|
||||
|
||||
link_type = iplink.get("link_type")
|
||||
if link_type in ("can", "vcan"):
|
||||
continue
|
||||
|
||||
ipaddr = addrs.get(ifname, {})
|
||||
|
||||
interfaces.append(interface(iplink, ipaddr))
|
||||
|
||||
Reference in New Issue
Block a user