summaryrefslogtreecommitdiffstats
path: root/zebra/main.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2014-06-04 06:53:35 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2014-06-04 06:58:02 +0200
commit6b0655a25194c7c0331154edaa6124cf783e5e5e (patch)
treec0c7d479f2684531249668210da27a60322ba395 /zebra/main.c
parentbuild: Quagga 0.99.23-rc1 (diff)
downloadfrr-6b0655a25194c7c0331154edaa6124cf783e5e5e.tar.xz
frr-6b0655a25194c7c0331154edaa6124cf783e5e5e.zip
*: 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>
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/main.c b/zebra/main.c
index 523b1911c..d7f2a108b 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -151,7 +151,7 @@ usage (char *progname, int status)
exit (status);
}
-
+
/* SIGHUP handler. */
static void
sighup (void)
@@ -203,7 +203,7 @@ struct quagga_signal_t zebra_signals[] =
.handler = &sigint,
},
};
-
+
/* Main startup routine. */
int
main (int argc, char **argv)