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
packet: Make set_ethertype() static
[sliver-openvswitch.git]
/
lib
/
packets.c
diff --git
a/lib/packets.c
b/lib/packets.c
index
003e554
..
6c5e973
100644
(file)
--- a/
lib/packets.c
+++ b/
lib/packets.c
@@
-218,7
+218,7
@@
eth_pop_vlan(struct ofpbuf *packet)
}
/* Set ethertype of the packet. */
-void
+
static
void
set_ethertype(struct ofpbuf *packet, ovs_be16 eth_type)
{
struct eth_header *eh = packet->data;