]> git.pld-linux.org Git - packages/iproute2.git/commitdiff
- limit number of loop passes while address flushing to 10k
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 4 Mar 2004 22:27:12 +0000 (22:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    iproute2-a-flush-hack.patch -> 1.1

iproute2-a-flush-hack.patch [new file with mode: 0644]

diff --git a/iproute2-a-flush-hack.patch b/iproute2-a-flush-hack.patch
new file mode 100644 (file)
index 0000000..6608a99
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN iproute2.org/ip/ipaddress.c iproute2/ip/ipaddress.c
+--- iproute2.org/ip/ipaddress.c        2004-03-04 23:00:41.050515248 +0100
++++ iproute2/ip/ipaddress.c    2004-03-04 23:08:08.810575433 +0100
+@@ -603,7 +603,7 @@
+                               fprintf(stderr, "Flush terminated\n");
+                               exit(1);
+                       }
+-                      if (filter.flushed == 0) {
++                      if (filter.flushed == 0 || round > 10000) {
+                               if (round == 0) {
+                                       fprintf(stderr, "Nothing to flush.\n");
+                               } else if (show_stats)
This page took 0.153336 seconds and 4 git commands to generate.