X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fin-band.c;h=cd9c0505c8e90eb9627445ff4c00e51a4e957c68;hb=848e88098fec85336b89c0c652c1d91577c87b11;hp=6c6832408d540b579b423705c46e2ef6ca8ed0bb;hpb=df2c07f4338faac04f4969f243fe4e8083b309ac;p=openvswitch diff --git a/ofproto/in-band.c b/ofproto/in-band.c index 6c683240..cd9c0505 100644 --- a/ofproto/in-band.c +++ b/ofproto/in-band.c @@ -25,7 +25,6 @@ #include #include "classifier.h" #include "dhcp.h" -#include "dpif.h" #include "flow.h" #include "netdev.h" #include "netlink.h" @@ -313,7 +312,7 @@ update_rules(struct in_band *ib) if (ib->n_remotes && !eth_addr_is_zero(ib->local_mac)) { /* (a) Allow DHCP requests sent from the local port. */ cls_rule_init_catchall(&rule, IBR_FROM_LOCAL_DHCP); - cls_rule_set_in_port(&rule, OVSP_LOCAL); + cls_rule_set_in_port(&rule, OFPP_LOCAL); cls_rule_set_dl_type(&rule, htons(ETH_TYPE_IP)); cls_rule_set_dl_src(&rule, ib->local_mac); cls_rule_set_nw_proto(&rule, IPPROTO_UDP);