fixed a typo in macros, reported by marisp (at) mt.lv
This commit is contained in:
parent
215c5976aa
commit
40e858e050
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: nattraversal.h,v 1.6 2006/09/09 16:22:09 manu Exp $ */
|
||||
/* $NetBSD: nattraversal.h,v 1.7 2010/09/22 07:34:51 vanhu Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2004 SuSE Linux AG, Nuernberg, Germany.
|
||||
@ -42,12 +42,12 @@
|
||||
#define NAT_KA_QUEUED (1L<<4)
|
||||
#define NAT_ADD_NON_ESP_MARKER (1L<<5)
|
||||
|
||||
#define NATT_AVAILABLE(ph1) ((iph1)->natt_flags & NAT_ANNOUNCED)
|
||||
#define NATT_AVAILABLE(_ph1) ((_ph1)->natt_flags & NAT_ANNOUNCED)
|
||||
|
||||
#define NAT_DETECTED (NAT_DETECTED_ME | NAT_DETECTED_PEER)
|
||||
|
||||
#define NON_ESP_MARKER_LEN sizeof(u_int32_t)
|
||||
#define NON_ESP_MARKER_USE(iph1) ((iph1)->natt_flags & NAT_ADD_NON_ESP_MARKER)
|
||||
#define NON_ESP_MARKER_USE(_ph1) ((_ph1)->natt_flags & NAT_ADD_NON_ESP_MARKER)
|
||||
|
||||
/* These are the values from parsing "remote {}"
|
||||
block of the config file. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user