[hipl-commit] [trunk] Rev 3817: Removed SO_HIP_SET_NAT_OFF and use SO_HIP_SET_NAT_NONE instead.

  • From: Tim Just <tim.just@xxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Fri, 5 Mar 2010 11:02:29 +0200

Committer: Tim Just <tim.just@xxxxxxxxxxxxxx>
Date: Fri Mar 05 10:01:57 2010 +0100
Revision: 3817
Revision-id: tim.just@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Removed SO_HIP_SET_NAT_OFF and use SO_HIP_SET_NAT_NONE instead.

Modified:
  M  agent/connhipd.c
  M  lib/core/icomm.h

=== modified file 'agent/connhipd.c'
--- agent/connhipd.c    2010-03-03 13:16:18 +0000
+++ agent/connhipd.c    2010-03-05 09:01:57 +0000
@@ -133,7 +133,7 @@
     } else if (type == SO_HIP_SET_NAT_ON)   {
         gui_update_nat(1);
         HIP_DEBUG("NAT extensions on.\n");
-    } else if (type == SO_HIP_SET_NAT_OFF)   {
+    } else if (type == SO_HIP_SET_NAT_NONE)   {
         gui_update_nat(0);
         HIP_DEBUG("NAT extensions off.\n");
     } else if (type == SO_HIP_DAEMON_QUIT)   {

=== modified file 'lib/core/icomm.h'
--- lib/core/icomm.h    2010-02-17 17:38:08 +0000
+++ lib/core/icomm.h    2010-03-05 09:01:57 +0000
@@ -146,7 +146,6 @@
 // free slot
 #define SO_HIP_SET_NAT_PLAIN_UDP                129
 #define SO_HIP_SET_NAT_NONE                     130
-#define SO_HIP_SET_NAT_OFF                      SO_HIP_SET_NAT_NONE // XX 
FIXME: REMOVE
 #define SO_HIP_SET_HIPPROXY_ON                  131
 #define SO_HIP_SET_HIPPROXY_OFF                 132
 #define SO_HIP_GET_PROXY_LOCAL_ADDRESS          133

Other related posts:

  • » [hipl-commit] [trunk] Rev 3817: Removed SO_HIP_SET_NAT_OFF and use SO_HIP_SET_NAT_NONE instead. - Tim Just