[hipl-commit] [trunk] Rev 4557: firewall: make proxy variables static.

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 18 May 2010 15:21:36 +0300

Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
Date: 18/05/2010 at 15:21:36
Revision: 4557
Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  firewall: make proxy variables static.

Modified:
  M  firewall/proxy.c

=== modified file 'firewall/proxy.c'
--- firewall/proxy.c    2010-05-18 12:18:09 +0000
+++ firewall/proxy.c    2010-05-18 12:21:25 +0000
@@ -20,14 +20,14 @@
 #include "firewall/firewall_defines.h"
 #include "lib/tool/checksum.h"
 
-int hip_proxy_raw_sock_tcp_v4          = 0;
-int hip_proxy_raw_sock_tcp_v6          = 0;
-int hip_proxy_raw_sock_udp_v4          = 0;
-int hip_proxy_raw_sock_udp_v6          = 0;
-int hip_proxy_raw_sock_icmp_v4         = 0;
-int hip_proxy_raw_sock_icmp_v6         = 0;
-int hip_proxy_raw_sock_icmp_inbound    = 0;
-const char hip_proxy_supported_proto[] = { IPPROTO_TCP,
+static int hip_proxy_raw_sock_tcp_v4          = 0;
+static int hip_proxy_raw_sock_tcp_v6          = 0;
+static int hip_proxy_raw_sock_udp_v4          = 0;
+static int hip_proxy_raw_sock_udp_v6          = 0;
+static int hip_proxy_raw_sock_icmp_v4         = 0;
+static int hip_proxy_raw_sock_icmp_v6         = 0;
+static int hip_proxy_raw_sock_icmp_inbound    = 0;
+static const char hip_proxy_supported_proto[] = { IPPROTO_TCP,
         IPPROTO_ICMP, IPPROTO_UDP };

Other related posts:

  • » [hipl-commit] [trunk] Rev 4557: firewall: make proxy variables static. - Mircea Gherzan