Source-Changes-HG archive

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

[src/trunk]: src/sbin/ping Fix a bug that misunderstand F_TIMING64, F_POLICY...



details:   https://anonhg.NetBSD.org/src/rev/69525347873a
branches:  trunk
changeset: 781606:69525347873a
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Sep 18 04:07:44 2012 +0000

description:
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 32d756687c26 -r 69525347873a sbin/ping/ping.c
--- a/sbin/ping/ping.c  Mon Sep 17 22:03:44 2012 +0000
+++ b/sbin/ping/ping.c  Tue Sep 18 04:07: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.103 2012/09/18 04:07:44 msaitoh 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.103 2012/09/18 04:07:44 msaitoh 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