projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
602ef4b
)
ofproto: Allow tunnel id to be in decimal or hex for trace command.
author
Justin Pettit
<jpettit@nicira.com>
Wed, 23 Mar 2011 00:06:07 +0000
(17:06 -0700)
committer
Justin Pettit
<jpettit@nicira.com>
Wed, 23 Mar 2011 04:33:14 +0000
(21:33 -0700)
Suggested-by: Pankaj Thakkar <thakkar@nicira.com>
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index 6f2b43cae9a9ca4bf7b4b7e20afb9fb498635eac..72ec8dd9dc7d147d1cacabf200940d492b0e35cc 100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-5191,7
+5191,7
@@
ofproto_unixctl_trace(struct unixctl_conn *conn, const char *args_,
goto exit;
}
- tun_id = htonll(strtoull(tun_id_s, NULL,
1
0));
+ tun_id = htonll(strtoull(tun_id_s, NULL, 0));
in_port = ofp_port_to_odp_port(atoi(in_port_s));
packet_s = ofpbuf_put_hex(&packet, packet_s, NULL);