*: 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_dump.c b/ospfd/ospf_dump.c
index 7e11e25..ef02336 100644
--- a/ospfd/ospf_dump.c
+++ b/ospfd/ospf_dump.c
@@ -143,7 +143,7 @@
unsigned long term_debug_ospf_zebra = 0;
unsigned long term_debug_ospf_nssa = 0;
-
+
const char *
ospf_redist_string(u_int route_type)
@@ -218,7 +218,7 @@
return buf;
}
-
+
void
ospf_nbr_state_message (struct ospf_neighbor *nbr, char *buf, size_t size)
{
@@ -746,7 +746,7 @@
stream_set_getp (s, gp);
}
-
+
/*
[no] debug ospf packet (hello|dd|ls-request|ls-update|ls-ack|all)
[send|recv [detail]]
@@ -956,7 +956,7 @@
"Packet received\n"
"Detail Information\n")
-
+
DEFUN (debug_ospf_ism,
debug_ospf_ism_cmd,
"debug ospf ism",
@@ -1058,7 +1058,7 @@
"ISM Event Information\n"
"ISM Timer Information\n")
-
+
DEFUN (debug_ospf_nsm,
debug_ospf_nsm_cmd,
"debug ospf nsm",
@@ -1161,7 +1161,7 @@
"NSM Event Information\n"
"NSM Timer Information\n")
-
+
DEFUN (debug_ospf_lsa,
debug_ospf_lsa_cmd,
"debug ospf lsa",
@@ -1274,7 +1274,7 @@
"LSA Install/Delete\n"
"LSA Refres\n")
-
+
DEFUN (debug_ospf_zebra,
debug_ospf_zebra_cmd,
"debug ospf zebra",
@@ -1366,7 +1366,7 @@
"OSPF Zebra information\n"
"Zebra interface\n"
"Zebra redistribute\n")
-
+
DEFUN (debug_ospf_event,
debug_ospf_event_cmd,
"debug ospf event",
@@ -1421,7 +1421,7 @@
return CMD_SUCCESS;
}
-
+
DEFUN (show_debugging_ospf,
show_debugging_ospf_cmd,
"show debugging ospf",