*: 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/lib/filter.c b/lib/filter.c
index 6934182..96605c7 100644
--- a/lib/filter.c
+++ b/lib/filter.c
@@ -110,7 +110,7 @@
NULL,
};
#endif /* HAVE_IPV6 */
-
+
static struct access_master *
access_master_get (afi_t afi)
{
@@ -208,7 +208,7 @@
else
return 0;
}
-
+
/* Allocate new access list structure. */
static struct access_list *
access_list_new (void)
@@ -501,7 +501,7 @@
if (master->delete_hook)
(*master->delete_hook) (access);
}
-
+
/*
deny Specify packets to reject
permit Specify packets to forward