summaryrefslogtreecommitdiffstats
path: root/usr.sbin/setkey
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/setkey')
-rw-r--r--usr.sbin/setkey/scriptdump.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/setkey/scriptdump.pl b/usr.sbin/setkey/scriptdump.pl
index 33907dc..a1d8adb 100644
--- a/usr.sbin/setkey/scriptdump.pl
+++ b/usr.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;
OpenPOWER on IntegriCloud