diff options
Diffstat (limited to 'regress/usr.sbin/syslogd/args-length-udp.pl')
-rw-r--r-- | regress/usr.sbin/syslogd/args-length-udp.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/regress/usr.sbin/syslogd/args-length-udp.pl b/regress/usr.sbin/syslogd/args-length-udp.pl index ee5b8baad16..b757146ec86 100644 --- a/regress/usr.sbin/syslogd/args-length-udp.pl +++ b/regress/usr.sbin/syslogd/args-length-udp.pl @@ -13,8 +13,11 @@ use Socket; our %args = ( client => { connect => { domain => AF_UNSPEC, addr => "localhost", port => 514 }, - func => \&write_length, - lengths => [ 8190..8193,9000 ], + func => sub { + my $self = shift; + write_lengths($self, 8190..8193,9000); + write_log($self); + }, }, syslogd => { options => ["-u"], |