
vpnc at unix-ag
Oct 31, 2009, 10:01 AM
Post #1 of 1
(89 views)
Permalink
|
|
svn commit: vpnc r449 - /branches/vpnc-nortel/vpnc.c
|
|
Author: Antonio Borneo Date: Sat Oct 31 18:01:55 2009 New Revision: 449 Log: Fix sequence order of debug messages Modified: branches/vpnc-nortel/vpnc.c Modified: branches/vpnc-nortel/vpnc.c ============================================================================== --- branches/vpnc-nortel/vpnc.c (original) +++ branches/vpnc-nortel/vpnc.c Sat Oct 31 18:01:55 2009 @@ -2029,11 +2029,8 @@ } else { DEBUG(1, printf("NAT status: NAT-T VID seen, no NAT device detected\n")); } - } else { - DEBUG(1, printf("NAT status: no NAT-T VID seen\n")); - } - - if (opt_vendor == VENDOR_NORTEL && seen_natsi) { + + } else if (opt_vendor == VENDOR_NORTEL && seen_natsi) { DEBUG(1, printf("NAT status: NaT-SI\n")); #if 1 /* AB: it's not mandatory to re-open socket */ /* close and re-create the socket on random port*/ @@ -2043,6 +2040,8 @@ if (s->ike_fd < 0) error(1, errno, "re-opening socket"); #endif + } else { + DEBUG(1, printf("NAT status: no NAT-T VID seen\n")); } /* This seems to cause a duplicate free of some data when rekeying: _______________________________________________ vpnc-devel mailing list vpnc-devel[at]unix-ag.uni-kl.de https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel http://www.unix-ag.uni-kl.de/~massar/vpnc/
|