git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tunnel: Make tnl_port_receive() parameter 'const'.
[sliver-openvswitch.git]
/
ofproto
/
ofproto-dpif.c
diff --git
a/ofproto/ofproto-dpif.c
b/ofproto/ofproto-dpif.c
index
0d17dbf
..
a42625b
100644
(file)
--- a/
ofproto/ofproto-dpif.c
+++ b/
ofproto/ofproto-dpif.c
@@
-3927,6
+3927,7
@@
ofproto_receive(const struct dpif_backer *backer, struct ofpbuf *packet,
flow->in_port = OFPP_NONE;
goto exit;
}
+ flow->in_port = ofport->ofp_port;
port = ofport_dpif_cast(ofport);
/* XXX: Since the tunnel module is not scoped per backer, it's