*: 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_nsm.c b/ospfd/ospf_nsm.c
index bcabd5f..0e6814e 100644
--- a/ospfd/ospf_nsm.c
+++ b/ospfd/ospf_nsm.c
@@ -50,7 +50,7 @@
#include "ospfd/ospf_snmp.h"
static void nsm_clear_adj (struct ospf_neighbor *);
-
+
/* OSPF NSM Timer functions. */
static int
ospf_inactivity_timer (struct thread *thread)
@@ -156,7 +156,7 @@
return 0;
}
-
+
/* OSPF NSM functions. */
static int
nsm_packet_received (struct ospf_neighbor *nbr)
@@ -258,7 +258,7 @@
}
}
-
+
/* The area link state database consists of the router-LSAs,
network-LSAs and summary-LSAs contained in the area structure,