Fix a bug that misunderstand F_TIMING64, F_POLICY and F_AUTHHDR.
This commit is contained in:
parent
25887ace93
commit
c29bab8ba9
@ -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
|
* Copyright (c) 1989, 1993
|
||||||
@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#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
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -116,10 +116,10 @@ __RCSID("$NetBSD: ping.c,v 1.102 2012/01/04 16:09:42 drochner Exp $");
|
|||||||
#define F_TIMING64 0x10000 /* 64 bit time, nanoseconds */
|
#define F_TIMING64 0x10000 /* 64 bit time, nanoseconds */
|
||||||
#ifdef IPSEC
|
#ifdef IPSEC
|
||||||
#ifdef IPSEC_POLICY_IPSEC
|
#ifdef IPSEC_POLICY_IPSEC
|
||||||
#define F_POLICY 0x10000
|
#define F_POLICY 0x20000
|
||||||
#else
|
#else
|
||||||
#define F_AUTHHDR 0x10000
|
#define F_AUTHHDR 0x20000
|
||||||
#define F_ENCRYPT 0x20000
|
#define F_ENCRYPT 0x40000
|
||||||
#endif /*IPSEC_POLICY_IPSEC*/
|
#endif /*IPSEC_POLICY_IPSEC*/
|
||||||
#endif /*IPSEC*/
|
#endif /*IPSEC*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user