*: 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_flood.c b/ospfd/ospf_flood.c
index 2ebae89..2c33b00 100644
--- a/ospfd/ospf_flood.c
+++ b/ospfd/ospf_flood.c
@@ -49,7 +49,7 @@
#include "ospfd/ospf_dump.h"
extern struct zclient *zclient;
-
+
/* Do the LSA acking specified in table 19, Section 13.5, row 2
* This get called from ospf_flood_out_interface. Declared inline
* for speed. */
@@ -757,7 +757,7 @@
return (lsa_ack_flag);
}
-
+
/* Management functions for neighbor's Link State Request list. */
void
@@ -835,7 +835,7 @@
return new;
}
-
+
/* Management functions for neighbor's ls-retransmit list. */
unsigned long
ospf_ls_retransmit_count (struct ospf_neighbor *nbr)
@@ -973,7 +973,7 @@
ospf_ls_retransmit_delete_nbr_if (oi, lsa);
}
-
+
/* Sets ls_age to MaxAge and floods throu the area.
When we implement ASE routing, there will be anothe function
flushing an LSA from the whole domain. */