summaryrefslogtreecommitdiff
path: root/regress/sys/net/pf_divert/args-udp-to.pl
blob: 2469dc42de5edef31324943e0be6c0c8a814335c (plain)
1
2
3
4
5
6
7
8
9
10
11
# test divert-to with udp

use strict;
use warnings;

our %args = (
    protocol => "udp",
    client => { func => \&write_datagram, noin => 1, },
    server => { func => \&read_datagram, noout => 1, },
    divert => "to",
);