X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fstatus.c;h=27dc86cc87efcaa7006d8a87da0eb839cb4c6898;hb=254604d84b48fde8e19299a10be7145adee52f98;hp=133bde0c9c3791b2f829a5bb240f7a4aa5f2bc17;hpb=76ce9432393df462e2030036021ea60096a734d4;p=openvswitch diff --git a/ofproto/status.c b/ofproto/status.c index 133bde0c..27dc86cc 100644 --- a/ofproto/status.c +++ b/ofproto/status.c @@ -24,6 +24,7 @@ #include #include "dynamic-string.h" #include "list.h" +#include "ofp-util.h" #include "ofpbuf.h" #include "ofproto.h" #include "openflow/nicira-ext.h" @@ -97,7 +98,7 @@ rconn_status_cb(struct status_reply *sr, void *rconn_) uint32_t remote_ip = rconn_get_remote_ip(rconn); uint32_t local_ip = rconn_get_local_ip(rconn); - status_reply_put(sr, "name=%s", rconn_get_name(rconn)); + status_reply_put(sr, "name=%s", rconn_get_target(rconn)); if (remote_ip) { status_reply_put(sr, "remote-ip="IP_FMT, IP_ARGS(&remote_ip)); status_reply_put(sr, "remote-port=%d",