Source-Changes-HG archive

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

[src/netbsd-6]: src/sbin/ping Pull up following revision(s) (requested by msa...



details:   https://anonhg.NetBSD.org/src/rev/45cbe2519d0e
branches:  netbsd-6
changeset: 775386:45cbe2519d0e
user:      riz <riz%NetBSD.org@localhost>
date:      Tue Oct 23 19:44:44 2012 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #621):
        sbin/ping/ping.c: revision 1.103
Fix a bug that misunderstand F_TIMING64,  F_POLICY and F_AUTHHDR.

diffstat:

 sbin/ping/ping.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 158711fba55e -r 45cbe2519d0e sbin/ping/ping.c
--- a/sbin/ping/ping.c  Tue Oct 23 16:28:06 2012 +0000
+++ b/sbin/ping/ping.c  Tue Oct 23 19:44:44 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ping.c,v 1.102 2012/01/04 16:09:42 drochner Exp $      */
+/*     $NetBSD: ping.c,v 1.102.2.1 2012/10/23 19:44:44 riz Exp $       */
 
 /*
  * Copyright (c) 1989, 1993
@@ -58,7 +58,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ping.c,v 1.102 2012/01/04 16:09:42 drochner Exp $");
+__RCSID("$NetBSD: ping.c,v 1.102.2.1 2012/10/23 19:44:44 riz Exp $");
 #endif
 
 #include <stdio.h>
@@ -116,10 +116,10 @@
 #define F_TIMING64     0x10000         /* 64 bit time, nanoseconds */
 #ifdef IPSEC
 #ifdef IPSEC_POLICY_IPSEC
-#define F_POLICY       0x10000
+#define F_POLICY       0x20000
 #else
-#define        F_AUTHHDR       0x10000
-#define        F_ENCRYPT       0x20000
+#define        F_AUTHHDR       0x20000
+#define        F_ENCRYPT       0x40000
 #endif /*IPSEC_POLICY_IPSEC*/
 #endif /*IPSEC*/
 



Home | Main Index | Thread Index | Old Index