diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2014-06-04 06:53:35 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2014-06-04 06:58:02 +0200 | 
| commit | 6b0655a25194c7c0331154edaa6124cf783e5e5e (patch) | |
| tree | c0c7d479f2684531249668210da27a60322ba395 /lib/distribute.c | |
| parent | fdb913aedb5a9807ad60715e8badb4f25d57acea (diff) | |
*: 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 'lib/distribute.c')
| -rw-r--r-- | lib/distribute.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/distribute.c b/lib/distribute.c index 8d6f637749..ba8043cf9e 100644 --- a/lib/distribute.c +++ b/lib/distribute.c @@ -34,7 +34,7 @@ struct hash *disthash;  /* Hook functions. */  void (*distribute_add_hook) (struct distribute *);  void (*distribute_delete_hook) (struct distribute *); - +  static struct distribute *  distribute_new (void)  { @@ -133,7 +133,7 @@ distribute_cmp (const struct distribute *dist1, const struct distribute *dist2)      return 1;    return 0;  } - +  /* Set access-list name to the distribute list. */  static struct distribute *  distribute_list_set (const char *ifname, enum distribute_type type,   | 
