aboutsummaryrefslogtreecommitdiff
path: root/lib/packets.h
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2012-11-13 17:20:22 -0800
committerPravin B Shelar <pshelar@nicira.com>2012-11-14 11:43:52 -0800
commit038341d1c1c33107a7f2ad06a5acb47c5fff7967 (patch)
treeab2b8c5b072b8765f83174c9bdfac2d7f3740dea /lib/packets.h
parentbc7a5acdff087b7e7a162da42ae608a83f3cf902 (diff)
vswitchd: Fix function prototype of packet_set_ipv6()
Follwoing patch fixes sparse error: lib/packets.c:643:1: error: symbol 'packet_set_ipv6' redeclared with different type (originally declared at lib/packets.h:493) - incompatible argument 6 (different base types) Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'lib/packets.h')
-rw-r--r--lib/packets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/packets.h b/lib/packets.h
index 4ad527ba..5f9be01e 100644
--- a/lib/packets.h
+++ b/lib/packets.h
@@ -492,7 +492,7 @@ void packet_set_ipv4(struct ofpbuf *, ovs_be32 src, ovs_be32 dst, uint8_t tos,
uint8_t ttl);
void packet_set_ipv6(struct ofpbuf *, uint8_t proto, const ovs_be32 src[4],
const ovs_be32 dst[4], uint8_t tc,
- uint32_t fl, uint8_t hlmit);
+ ovs_be32 fl, uint8_t hlmit);
void packet_set_tcp_port(struct ofpbuf *, ovs_be16 src, ovs_be16 dst);
void packet_set_udp_port(struct ofpbuf *, ovs_be16 src, ovs_be16 dst);