ofproto-dpif: Implement PACKET_IN in userspace.
[openvswitch] / lib / rtnetlink-link.c
index 0a40ceaf9c8bfbb5569f4b6de3430439b35dcc3a..7d26d866818c64bed08fc3d9267e97963c6dc36c 100644 (file)
@@ -63,6 +63,7 @@ rtnetlink_link_parse(struct ofpbuf *buf,
         change->nlmsg_type     = nlmsg->nlmsg_type;
         change->ifi_index      = ifinfo->ifi_index;
         change->ifname         = nl_attr_get_string(attrs[IFLA_IFNAME]);
+        change->running        = ifinfo->ifi_flags & IFF_RUNNING;
         change->master_ifindex = (attrs[IFLA_MASTER]
                                   ? nl_attr_get_u32(attrs[IFLA_MASTER])
                                   : 0);