summaryrefslogtreecommitdiffstats
path: root/zebra/irdp_packet.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/irdp_packet.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/irdp_packet.c')
-rw-r--r--zebra/irdp_packet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/irdp_packet.c b/zebra/irdp_packet.c
index 50525043d..0d31050c5 100644
--- a/zebra/irdp_packet.c
+++ b/zebra/irdp_packet.c
@@ -184,7 +184,7 @@ parse_irdp_packet(char *p,
inet_ntoa (src));
}
}
-
+
static int
irdp_recvmsg (int sock, u_char *buf, int size, int *ifindex)
{
@@ -222,7 +222,7 @@ irdp_recvmsg (int sock, u_char *buf, int size, int *ifindex)
return ret;
}
-
+
int irdp_read_raw(struct thread *r)
{
struct interface *ifp;
@@ -264,7 +264,7 @@ int irdp_read_raw(struct thread *r)
return ret;
}
-
+
void
send_packet(struct interface *ifp,
struct stream *s,