summaryrefslogtreecommitdiffstats
path: root/zebra/rtadv.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/rtadv.c
parentfdb913aedb5a9807ad60715e8badb4f25d57acea (diff)
downloadquagga-6b0655a25194c7c0331154edaa6124cf783e5e5e.tar.bz2
quagga-6b0655a25194c7c0331154edaa6124cf783e5e5e.tar.xz
*: 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/rtadv.c')
-rw-r--r--zebra/rtadv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index 91d7b324..21ca6da9 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -66,7 +66,7 @@ static void rtadv_event (enum rtadv_event, int);
static int if_join_all_router (int, struct interface *);
static int if_leave_all_router (int, struct interface *);
-
+
/* Structure which hold status of router advertisement. */
struct rtadv
{
@@ -80,7 +80,7 @@ struct rtadv
};
struct rtadv *rtadv = NULL;
-
+
static struct rtadv *
rtadv_new (void)
{
@@ -580,7 +580,7 @@ rtadv_make_socket (void)
return sock;
}
-
+
static struct rtadv_prefix *
rtadv_prefix_new (void)
{