summaryrefslogtreecommitdiff
path: root/zebra/ipforward_sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/ipforward_sysctl.c')
-rw-r--r--zebra/ipforward_sysctl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/zebra/ipforward_sysctl.c b/zebra/ipforward_sysctl.c
index 53b6c6f0..a8d0d8cb 100644
--- a/zebra/ipforward_sysctl.c
+++ b/zebra/ipforward_sysctl.c
@@ -44,7 +44,7 @@ int mib[MIB_SIZ] =
int
ipforward ()
{
- int len;
+ size_t len;
int ipforwarding = 0;
len = sizeof ipforwarding;
@@ -59,7 +59,7 @@ ipforward ()
int
ipforward_on ()
{
- int len;
+ size_t len;
int ipforwarding = 1;
len = sizeof ipforwarding;
@@ -80,7 +80,7 @@ ipforward_on ()
int
ipforward_off ()
{
- int len;
+ size_t len;
int ipforwarding = 0;
len = sizeof ipforwarding;
@@ -117,7 +117,7 @@ int mib_ipv6[MIB_SIZ] =
int
ipforward_ipv6 ()
{
- int len;
+ size_t len;
int ip6forwarding = 0;
len = sizeof ip6forwarding;
@@ -138,7 +138,7 @@ ipforward_ipv6 ()
int
ipforward_ipv6_on ()
{
- int len;
+ size_t len;
int ip6forwarding = 1;
len = sizeof ip6forwarding;
@@ -159,7 +159,7 @@ ipforward_ipv6_on ()
int
ipforward_ipv6_off ()
{
- int len;
+ size_t len;
int ip6forwarding = 0;
len = sizeof ip6forwarding;