summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_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 /ospfd/ospf_packet.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 'ospfd/ospf_packet.c')
-rw-r--r--ospfd/ospf_packet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index cce56fc6..efdf8263 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -323,7 +323,7 @@ ospf_packet_max (struct ospf_interface *oi)
return max;
}
-
+
static int
ospf_check_md5_digest (struct ospf_interface *oi, struct ospf_header *ospfh)
{
@@ -438,7 +438,7 @@ ospf_make_md5_digest (struct ospf_interface *oi, struct ospf_packet *op)
return OSPF_AUTH_MD5_SIZE;
}
-
+
static int
ospf_ls_req_timer (struct thread *thread)
{
@@ -2136,7 +2136,7 @@ ospf_ls_ack (struct ip *iph, struct ospf_header *ospfh,
return;
}
-
+
static struct stream *
ospf_recv_packet (int fd, struct interface **ifp, struct stream *ibuf)
{