X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fdhcp-client.c;h=0abf115b025937b3d897582968fe1b6e397469f1;hb=21291d67574ae857d028c40b2fcc1116b6be6dfa;hp=fb6835c19d63ac217f5ebd8ab3cbfba79fe12c3e;hpb=149f577a25508779b756515be1f1bdcefa3710fa;p=openvswitch diff --git a/lib/dhcp-client.c b/lib/dhcp-client.c index fb6835c1..0abf115b 100644 --- a/lib/dhcp-client.c +++ b/lib/dhcp-client.c @@ -775,7 +775,7 @@ dhclient_run_REBINDING(struct dhclient *cli) } static void -dhclient_run_RELEASED(struct dhclient *cli UNUSED) +dhclient_run_RELEASED(struct dhclient *cli OVS_UNUSED) { /* Nothing to do. */ } @@ -931,7 +931,7 @@ do_receive_msg(struct dhclient *cli, struct dhcp_msg *msg) goto drained; } - flow_extract(&b, 0, &flow); + flow_extract(&b, 0, 0, &flow); if (flow.dl_type != htons(ETH_TYPE_IP) || flow.nw_proto != IP_TYPE_UDP || flow.tp_dst != htons(DHCP_CLIENT_PORT)