diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index da8cf44e09..e7aab0b427 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -269,6 +269,8 @@ type_to_string (NMLinkType type) switch (type) { case NM_LINK_TYPE_DUMMY: return "dummy"; + case NM_LINK_TYPE_IFB: + return "ifb"; case NM_LINK_TYPE_VETH: return "veth"; case NM_LINK_TYPE_VLAN: @@ -324,6 +326,8 @@ link_extract_type (struct rtnl_link *rtnllink, const char **out_name) return_type (NM_LINK_TYPE_INFINIBAND, "infiniband"); else if (!strcmp (type, "dummy")) return_type (NM_LINK_TYPE_DUMMY, "dummy"); + else if (!strcmp (type, "ifb")) + return_type (NM_LINK_TYPE_IFB, "ifb"); else if (!strcmp (type, "veth")) return_type (NM_LINK_TYPE_VETH, "veth"); else if (!strcmp (type, "vlan")) diff --git a/src/platform/nm-platform.h b/src/platform/nm-platform.h index ee00256ebb..9df436d35a 100644 --- a/src/platform/nm-platform.h +++ b/src/platform/nm-platform.h @@ -57,6 +57,7 @@ typedef enum { /* Virtual types */ NM_LINK_TYPE_DUMMY, + NM_LINK_TYPE_IFB, NM_LINK_TYPE_LOOPBACK, NM_LINK_TYPE_VETH, NM_LINK_TYPE_VLAN,