*: 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/bgpd/bgp_ecommunity.c b/bgpd/bgp_ecommunity.c
index 5722425..8a326a8 100644
--- a/bgpd/bgp_ecommunity.c
+++ b/bgpd/bgp_ecommunity.c
@@ -31,7 +31,7 @@
/* Hash of community attribute. */
static struct hash *ecomhash;
-
+
/* Allocate a new ecommunities. */
static struct ecommunity *
ecommunity_new (void)
@@ -277,7 +277,7 @@
hash_free (ecomhash);
ecomhash = NULL;
}
-
+
/* Extended Communities token enum. */
enum ecommunity_token
{