*: 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_asbr.c b/ospf6d/ospf6_asbr.c
index c414970..6ba6cdf 100644
--- a/ospf6d/ospf6_asbr.c
+++ b/ospf6d/ospf6_asbr.c
@@ -151,7 +151,7 @@
ospf6_lsa_originate_process (lsa, ospf6);
}
-
+
void
ospf6_asbr_lsa_add (struct ospf6_lsa *lsa)
{
@@ -342,7 +342,7 @@
}
-
+
/* redistribute function */
static void
@@ -748,7 +748,7 @@
}
-
+
/* Routemap Functions */
static route_map_result_t
ospf6_routemap_rule_match_address_prefixlist (void *rule,
@@ -1168,7 +1168,7 @@
install_element (RMAP_NODE, &ospf6_routemap_no_set_forwarding_cmd);
}
-
+
/* Display functions */
static char *
ospf6_as_external_lsa_get_prefix_str (struct ospf6_lsa *lsa, char *buf,