X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fdiscovery.c;h=d7189fc6f1fdf25dc0bb6de1ad2763ac2de6b90a;hb=d295e8e97acae13552a5b220d3fbcff8201064a2;hp=008ad62ca9c3ae6770ae44427d2d4fea05f12e82;hpb=90a249dc93ccabd398b64092121b07e5af2d8c2d;p=sliver-openvswitch.git diff --git a/ofproto/discovery.c b/ofproto/discovery.c index 008ad62ca..d7189fc6f 100644 --- a/ofproto/discovery.c +++ b/ofproto/discovery.c @@ -60,7 +60,7 @@ discovery_status_cb(struct status_reply *sr, void *d_) if (d->dhcp) { status_reply_put(sr, "state=%s", dhclient_get_state(d->dhcp)); status_reply_put(sr, "state-elapsed=%u", - dhclient_get_state_elapsed(d->dhcp)); + dhclient_get_state_elapsed(d->dhcp)); if (dhclient_is_bound(d->dhcp)) { uint32_t ip = dhclient_get_ip(d->dhcp); uint32_t netmask = dhclient_get_netmask(d->dhcp); @@ -218,7 +218,7 @@ void discovery_question_connectivity(struct discovery *d) { if (d->dhcp) { - dhclient_force_renew(d->dhcp, 15); + dhclient_force_renew(d->dhcp, 15); } } @@ -261,7 +261,7 @@ void discovery_wait(struct discovery *d) { if (d->dhcp) { - dhclient_wait(d->dhcp); + dhclient_wait(d->dhcp); } }