[hipl-commit] [trunk] Rev 4239: cosmetics: Remove some empty / nonsense comments.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 13 Apr 2010 13:46:21 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 13/04/2010 at 13:46:21
Revision: 4239
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  cosmetics: Remove some empty / nonsense comments.

Modified:
  M  firewall/firewall.c
  M  firewall/proxy.c
  M  i3/chord/util.c

=== modified file 'firewall/firewall.c'
--- firewall/firewall.c 2010-04-13 10:36:12 +0000
+++ firewall/firewall.c 2010-04-13 10:46:05 +0000
@@ -324,7 +324,7 @@
                  "failed to initialize userspace ipsec\n");
 
         // queue incoming ESP over IPv4 and IPv4 UDP encapsulated traffic
-        system_print("iptables -I HIPFW-INPUT -p 50 -j QUEUE");         /*  */
+        system_print("iptables -I HIPFW-INPUT -p 50 -j QUEUE");
         system_print("iptables -I HIPFW-INPUT -p 17 --dport 10500 -j QUEUE");
         system_print("iptables -I HIPFW-INPUT -p 17 --sport 10500 -j QUEUE");
 
@@ -366,7 +366,7 @@
         HIP_IFEL(userspace_ipsec_uninit(), -1, "failed to uninit user 
ipsec\n");
 
         // delete all rules previously set up for this extension
-        system_print("iptables -D HIPFW-INPUT -p 50 -j QUEUE 2>/dev/null");    
     /*  */
+        system_print("iptables -D HIPFW-INPUT -p 50 -j QUEUE 2>/dev/null");
         system_print("iptables -D HIPFW-INPUT -p 17 --dport 10500 -j QUEUE 
2>/dev/null");
         system_print("iptables -D HIPFW-INPUT -p 17 --sport 10500 -j QUEUE 
2>/dev/null");
 

=== modified file 'firewall/proxy.c'
--- firewall/proxy.c    2010-04-09 15:20:38 +0000
+++ firewall/proxy.c    2010-04-13 10:46:05 +0000
@@ -940,7 +940,7 @@
         ip6_hdr->ip6_dst                        = dst6->sin6_addr;
         ip6_hdr->ip6_ctlun.ip6_un2_vfc          = 0x60;
         ip6_hdr->ip6_ctlun.ip6_un1.ip6_un1_nxt  = protocol;
-        ip6_hdr->ip6_ctlun.ip6_un1.ip6_un1_plen = len - 40;        //htons(len 
- sizeof(struct ip6_hdr)); ;
+        ip6_hdr->ip6_ctlun.ip6_un1.ip6_un1_plen = len - 40;
         ip6_hdr->ip6_ctlun.ip6_un1.ip6_un1_hlim = 0xff;
         HIP_DEBUG("src_addr and dst_aadr are ipv6!\n");
     }

=== modified file 'i3/chord/util.c'
--- i3/chord/util.c     2010-04-13 09:52:59 +0000
+++ i3/chord/util.c     2010-04-13 10:46:05 +0000
@@ -71,7 +71,8 @@
 }
 
 /**********************************************************************/
-#endif
+#endif /* 0 */
+
 void update_rtt(long *rtt_avg, long *rtt_dev, long new_rtt)
 {
     long err;

Other related posts:

  • » [hipl-commit] [trunk] Rev 4239: cosmetics: Remove some empty / nonsense comments. - Diego Biurrun