aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/zebra-devel/files/patch-ioctl.c12
-rw-r--r--net/zebra-pj/files/patch-ioctl.c12
-rw-r--r--net/zebra/files/patch-ioctl.c12
3 files changed, 36 insertions, 0 deletions
diff --git a/net/zebra-devel/files/patch-ioctl.c b/net/zebra-devel/files/patch-ioctl.c
new file mode 100644
index 00000000000..2c06a9b189e
--- /dev/null
+++ b/net/zebra-devel/files/patch-ioctl.c
@@ -0,0 +1,12 @@
+--- zebra/ioctl.c.orig Wed Dec 12 18:02:16 2001
++++ zebra/ioctl.c Wed Dec 12 18:02:30 2001
+@@ -478,6 +478,9 @@
+ mask.sin6_len = sizeof (struct sockaddr_in6);
+ #endif
+ memcpy (&addreq.ifra_prefixmask, &mask, sizeof (struct sockaddr_in6));
++
++ addreq.ifra_lifetime.ia6t_vltime = 0xffffffff;
++ addreq.ifra_lifetime.ia6t_pltime = 0xffffffff;
+
+ ret = if_ioctl_ipv6 (SIOCAIFADDR_IN6, (caddr_t) &addreq);
+ if (ret < 0)
diff --git a/net/zebra-pj/files/patch-ioctl.c b/net/zebra-pj/files/patch-ioctl.c
new file mode 100644
index 00000000000..2c06a9b189e
--- /dev/null
+++ b/net/zebra-pj/files/patch-ioctl.c
@@ -0,0 +1,12 @@
+--- zebra/ioctl.c.orig Wed Dec 12 18:02:16 2001
++++ zebra/ioctl.c Wed Dec 12 18:02:30 2001
+@@ -478,6 +478,9 @@
+ mask.sin6_len = sizeof (struct sockaddr_in6);
+ #endif
+ memcpy (&addreq.ifra_prefixmask, &mask, sizeof (struct sockaddr_in6));
++
++ addreq.ifra_lifetime.ia6t_vltime = 0xffffffff;
++ addreq.ifra_lifetime.ia6t_pltime = 0xffffffff;
+
+ ret = if_ioctl_ipv6 (SIOCAIFADDR_IN6, (caddr_t) &addreq);
+ if (ret < 0)
diff --git a/net/zebra/files/patch-ioctl.c b/net/zebra/files/patch-ioctl.c
new file mode 100644
index 00000000000..2c06a9b189e
--- /dev/null
+++ b/net/zebra/files/patch-ioctl.c
@@ -0,0 +1,12 @@
+--- zebra/ioctl.c.orig Wed Dec 12 18:02:16 2001
++++ zebra/ioctl.c Wed Dec 12 18:02:30 2001
+@@ -478,6 +478,9 @@
+ mask.sin6_len = sizeof (struct sockaddr_in6);
+ #endif
+ memcpy (&addreq.ifra_prefixmask, &mask, sizeof (struct sockaddr_in6));
++
++ addreq.ifra_lifetime.ia6t_vltime = 0xffffffff;
++ addreq.ifra_lifetime.ia6t_pltime = 0xffffffff;
+
+ ret = if_ioctl_ipv6 (SIOCAIFADDR_IN6, (caddr_t) &addreq);
+ if (ret < 0)