*: 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/ospfd/ospf_asbr.c b/ospfd/ospf_asbr.c
index 7e7c84f..7e9412c 100644
--- a/ospfd/ospf_asbr.c
+++ b/ospfd/ospf_asbr.c
@@ -44,7 +44,7 @@
#include "ospfd/ospf_zebra.h"
#include "ospfd/ospf_dump.h"
-
+
/* Remove external route. */
void
ospf_external_route_remove (struct ospf *ospf, struct prefix_ipv4 *p)
@@ -96,7 +96,7 @@
return NULL;
}
-
+
/* Add an External info for AS-external-LSA. */
struct external_info *
ospf_external_info_new (u_char type)
@@ -234,7 +234,7 @@
return lsa;
}
-
+
/* Update ASBR status. */
void
ospf_asbr_status_update (struct ospf *ospf, u_char status)