*: 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/irdp_packet.c b/zebra/irdp_packet.c
index 5052504..0d31050 100644
--- a/zebra/irdp_packet.c
+++ b/zebra/irdp_packet.c
@@ -184,7 +184,7 @@
inet_ntoa (src));
}
}
-
+
static int
irdp_recvmsg (int sock, u_char *buf, int size, int *ifindex)
{
@@ -222,7 +222,7 @@
return ret;
}
-
+
int irdp_read_raw(struct thread *r)
{
struct interface *ifp;
@@ -264,7 +264,7 @@
return ret;
}
-
+
void
send_packet(struct interface *ifp,
struct stream *s,