*: 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_interface.c b/ospf6d/ospf6_interface.c
index 4bc6155..f0ef790 100644
--- a/ospf6d/ospf6_interface.c
+++ b/ospf6d/ospf6_interface.c
@@ -516,7 +516,7 @@
}
-
+
/* DR Election, RFC2328 section 9.4 */
#define IS_ELIGIBLE(n) \
@@ -673,7 +673,7 @@
return next_state;
}
-
+
/* Interface State Machine */
int
interface_up (struct thread *thread)
@@ -843,7 +843,7 @@
return 0;
}
-
+
/* show specified interface structure */
static int
ospf6_interface_show (struct vty *vty, struct interface *ifp)