diff options
author | Chad Loder <cloder@cvs.openbsd.org> | 2005-04-05 18:06:07 +0000 |
---|---|---|
committer | Chad Loder <cloder@cvs.openbsd.org> | 2005-04-05 18:06:07 +0000 |
commit | 50223d187ce118cb0122d63e17afdf6e066a2ac8 (patch) | |
tree | 655194bf2c023512d77ad589821a4270f89bb7a4 /sbin/isakmpd/nat_traversal.h | |
parent | f6a4b7ab951c5c6d94a997ab3660aa7d0d64377f (diff) |
Add -T flag to isakmpd to disable NAT-T support from the command line.
This lets binat setups work again without having to recompile isakmpd.
OK ho, hshoexer.
Diffstat (limited to 'sbin/isakmpd/nat_traversal.h')
-rw-r--r-- | sbin/isakmpd/nat_traversal.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/isakmpd/nat_traversal.h b/sbin/isakmpd/nat_traversal.h index f31da981b67..984d825603f 100644 --- a/sbin/isakmpd/nat_traversal.h +++ b/sbin/isakmpd/nat_traversal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nat_traversal.h,v 1.2 2004/06/21 23:27:10 ho Exp $ */ +/* $OpenBSD: nat_traversal.h,v 1.3 2005/04/05 18:06:06 cloder Exp $ */ /* * Copyright (c) 2004 Håkan Olsson. All rights reserved. @@ -27,6 +27,11 @@ #ifndef _NAT_TRAVERSAL_H_ #define _NAT_TRAVERSAL_H_ +/* + * Set if -T is given on the command line to disable NAT-T support. + */ +extern int disable_nat_t; + void nat_t_init(void); int nat_t_add_vendor_payloads(struct message *); void nat_t_check_vendor_payload(struct message *, struct payload *); |