*: nuke ^L (page feed)
Quagga sources have inherited a slew of Page Feed (^L, \xC) characters
from ancient history. Among other things, these break patchwork's
XML-RPC API because \xC is not a valid character in XML documents.
Nuke them from high orbit.
Patches can be adapted simply by:
sed -e 's%^L%%' -i filename.patch
(you can type page feeds in some environments with Ctrl-V Ctrl-L)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c
index 37b2ae2..3dbeb98 100644
--- a/zebra/kernel_socket.c
+++ b/zebra/kernel_socket.c
@@ -252,7 +252,7 @@
#endif /* HAVE_IPV6 */
return 0;
}
-
+
/* Dump routing table flag for debug purpose. */
static void
rtm_flag_dump (int flag)
@@ -557,7 +557,7 @@
return 0;
}
-
+
/* Address read from struct ifa_msghdr. */
static void
ifam_read_mesg (struct ifa_msghdr *ifm,
@@ -751,7 +751,7 @@
return 0;
}
-
+
/* Interface function for reading kernel routing table information. */
static int
rtm_read_mesg (struct rt_msghdr *rtm,
@@ -1128,7 +1128,7 @@
return ZEBRA_ERR_NOERROR;
}
-
+
#include "thread.h"
#include "zebra/zserv.h"