Fix a bug that misunderstand F_TIMING64, F_POLICY and F_AUTHHDR.

This commit is contained in:
msaitoh 2012-09-18 04:07:44 +00:00
parent 25887ace93
commit c29bab8ba9
1 changed files with 5 additions and 5 deletions

View File

@ -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 @@ __RCSID("$NetBSD: ping.c,v 1.102 2012/01/04 16:09:42 drochner Exp $");
#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*/