summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2016-09-28 10:10:00 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2016-09-28 10:10:00 +0000
commitfcfffc5bfb12fb3f0e11de73b7f135cf9ac7f164 (patch)
treea14693304351c88f264d37e2838009b56650d731 /regress
parent2f060f186bb2d4d97bc697c85a9b9009661c050f (diff)
An unintened 65536 size change slipped in, revert to 65535
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.sbin/switchd/run.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.sbin/switchd/run.pl b/regress/usr.sbin/switchd/run.pl
index e2460ca8011..d14731bd273 100644
--- a/regress/usr.sbin/switchd/run.pl
+++ b/regress/usr.sbin/switchd/run.pl
@@ -1,5 +1,5 @@
#!/usr/bin/perl -w
-# $OpenBSD: run.pl,v 1.4 2016/09/28 08:14:51 reyk Exp $
+# $OpenBSD: run.pl,v 1.5 2016/09/28 10:09:59 reyk Exp $
# Copyright (c) 2016 Reyk Floeter <reyk@openbsd.org>
#
@@ -72,7 +72,7 @@ sub ofp_hello {
# XXX timeout
$self->{sock}->send($pkt);
- $self->{sock}->recv($resppkt, 65536);
+ $self->{sock}->recv($resppkt, 65535);
$resp = NetPacket::OFP->decode($resppkt) or
fatal($class, "recv'ed packet");
@@ -105,7 +105,7 @@ sub ofp_packet_in {
# XXX timeout
$self->{sock}->send($pkt);
- $self->{sock}->recv($resppkt, 65536);
+ $self->{sock}->recv($resppkt, 65535);
$resp = NetPacket::OFP->decode($resppkt) or
fatal($class, "recv'ed packet");