*: 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/connected.c b/zebra/connected.c
index 4802f2b..c4f87f4 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -36,7 +36,7 @@
#include "zebra/interface.h"
#include "zebra/connected.h"
extern struct zebra_t zebrad;
-
+
/* communicate the withdrawal of a connected address */
static void
connected_withdraw (struct connected *ifc)
@@ -96,7 +96,7 @@
#endif
}
}
-
+
/* If same interface address is already exist... */
struct connected *
connected_check (struct interface *ifp, struct prefix *p)