*: 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/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c
index 4aa2b12..2e61535 100644
--- a/ospf6d/ospf6_lsa.c
+++ b/ospf6d/ospf6_lsa.c
@@ -658,7 +658,7 @@
ospf6_lsa_delete (lsa);
}
-
+
/* ospf6 lsa expiry */
int
ospf6_lsa_expire (struct thread *thread)
@@ -744,7 +744,7 @@
return 0;
}
-
+
/* Fletcher Checksum -- Refer to RFC1008. */
@@ -790,7 +790,7 @@
{
vector_free (ospf6_lsa_handler_vector);
}
-
+
static char *
ospf6_lsa_handler_name (struct ospf6_lsa_handler *h)
{