diff options
author | reyk <reyk@openbsd.org> | 2016-07-21 08:40:14 +0000 |
---|---|---|
committer | reyk <reyk@openbsd.org> | 2016-07-21 08:40:14 +0000 |
commit | 6ce433c88543a800d080e35114c8e6145cc851a3 (patch) | |
tree | 7339fd2051962a9ef9cdf41ca06575ca260d53e7 /usr.sbin/switchd/ofp10.c | |
parent | With uint32_t ports, we cannot sneak the port into an int anymore (diff) | |
download | wireguard-openbsd-6ce433c88543a800d080e35114c8e6145cc851a3.tar.xz wireguard-openbsd-6ce433c88543a800d080e35114c8e6145cc851a3.zip |
long to uint32_t port
Diffstat (limited to 'usr.sbin/switchd/ofp10.c')
-rw-r--r-- | usr.sbin/switchd/ofp10.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/switchd/ofp10.c b/usr.sbin/switchd/ofp10.c index c12a326ec43..accba9497c6 100644 --- a/usr.sbin/switchd/ofp10.c +++ b/usr.sbin/switchd/ofp10.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofp10.c,v 1.5 2016/07/21 08:39:23 reyk Exp $ */ +/* $OpenBSD: ofp10.c,v 1.6 2016/07/21 08:40:14 reyk Exp $ */ /* * Copyright (c) 2013-2016 Reyk Floeter <reyk@openbsd.org> @@ -317,7 +317,7 @@ ofp10_packet_in(struct switchd *sc, struct switch_connection *con, struct ibuf *obuf = NULL; int ret = -1; size_t len; - long srcport, dstport; + uint32_t srcport, dstport; int addflow = 0; int addpacket = 0; |