diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2001-08-06 19:40:01 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2001-08-06 19:40:01 +0000 |
| commit | 232bdaf61fa5b080a8119ad5ad3e757604fc6a7e (patch) | |
| tree | c3f8e1b3989c0a4c9e985039e3d5a549e895d1e9 /sbin/setkey/scriptdump.pl | |
| parent | e51e1807bd79a36a170679ce63347536e1358542 (diff) | |
Notes
Diffstat (limited to 'sbin/setkey/scriptdump.pl')
| -rw-r--r-- | sbin/setkey/scriptdump.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/setkey/scriptdump.pl b/sbin/setkey/scriptdump.pl index 33907dc72532e..a1d8adb207bc6 100644 --- a/sbin/setkey/scriptdump.pl +++ b/sbin/setkey/scriptdump.pl @@ -32,9 +32,9 @@ foreach $_ (<IN>) { $akey = $2; $akey =~ s/\s//g; $akey =~ s/^/0x/g; - } elsif (/^\treplay=(\d+) flags=(0x\d+) state=/) { + } elsif (/^\tseq=(0x\d+) replay=(\d+) flags=(0x\d+) state=/) { print "$mode $src $dst $proto $spi"; - $replay = $1; + $replay = $2; print " -u $reqid" if $reqid; if ($mode eq 'add') { print " -m $ipsecmode -r $replay" if $replay; |
