diff options
author | 2016-09-28 08:11:26 +0000 | |
---|---|---|
committer | 2016-09-28 08:11:26 +0000 | |
commit | d8056d7cc518e5e29443af8689991971cbf10989 (patch) | |
tree | fb2f3609a43b83da79d340f3979018d3a861fb98 /regress/usr.sbin/switchd | |
parent | I wrote a perfect regress test: a test that never fails. Correctly (diff) | |
download | wireguard-openbsd-d8056d7cc518e5e29443af8689991971cbf10989.tar.xz wireguard-openbsd-d8056d7cc518e5e29443af8689991971cbf10989.zip |
Bump buffer size to 64k, the max OFP packet size
Diffstat (limited to 'regress/usr.sbin/switchd')
-rw-r--r-- | regress/usr.sbin/switchd/run.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.sbin/switchd/run.pl b/regress/usr.sbin/switchd/run.pl index fe41e277ae4..adae634b0a2 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.2 2016/09/28 08:10:18 reyk Exp $ +# $OpenBSD: run.pl,v 1.3 2016/09/28 08:11:26 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, 1024); + $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, 1024); + $self->{sock}->recv($resppkt, 65535); $resp = NetPacket::OFP->decode($resppkt) or fatal($class, "recv'ed packet"); |