Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sbin/setkey pullup 1.1 -> 1.2 (approved by releng-1-5)



details:   https://anonhg.NetBSD.org/src/rev/98cc3a3f942b
branches:  netbsd-1-5
changeset: 488696:98cc3a3f942b
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Jul 25 04:19:42 2000 +0000

description:
pullup 1.1 -> 1.2 (approved by releng-1-5)

sync with the current usage.  from kame.

note that the file will not be installed into locations like
/usr/sbin or /sbin.

diffstat:

 sbin/setkey/scriptdump.pl |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 3294fe859727 -r 98cc3a3f942b sbin/setkey/scriptdump.pl
--- a/sbin/setkey/scriptdump.pl Mon Jul 24 23:10:11 2000 +0000
+++ b/sbin/setkey/scriptdump.pl Tue Jul 25 04:19:42 2000 +0000
@@ -1,6 +1,6 @@
 #! @LOCALPREFIX@/bin/perl
 #
-#      $NetBSD: scriptdump.pl,v 1.1 2000/06/13 15:15:26 itojun Exp $
+#      $NetBSD: scriptdump.pl,v 1.1.2.1 2000/07/25 04:19:42 itojun Exp $
 #
 
 if ($< != 0) {
@@ -35,11 +35,11 @@
                $akey =~ s/\s//g;
                $akey =~ s/^/0x/g;
        } elsif (/^\treplay=(\d+) flags=(0x\d+) state=/) {
-               print "$mode $src $dst $proto $spi -m $ipsecmode";
+               print "$mode $src $dst $proto $spi";
                $replay = $1;
                print " -u $reqid" if $reqid;
                if ($mode eq 'add') {
-                       print " -r $replay" if $replay;
+                       print " -m $ipsecmode -r $replay" if $replay;
                        if ($proto eq 'esp') {
                                print " -E $ealgo $ekey" if $ealgo;
                                print " -A $aalgo $akey" if $aalgo;



Home | Main Index | Thread Index | Old Index