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 /zebra/zebra_snmp.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 'zebra/zebra_snmp.c')
| -rw-r--r-- | zebra/zebra_snmp.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zebra_snmp.c b/zebra/zebra_snmp.c index e06e1443d4..f0d3e7e582 100644 --- a/zebra/zebra_snmp.c +++ b/zebra/zebra_snmp.c @@ -34,7 +34,7 @@  #include "zebra/rib.h"  #include "zebra/zserv.h" - +  #define IPFWMIB 1,3,6,1,2,1,4,24  /* ipForwardTable */ @@ -78,7 +78,7 @@  #define ROWSTATUS ASN_INTEGER  #define IPADDRESS ASN_IPADDRESS  #define OBJECTIDENTIFIER ASN_OBJECT_ID - +  extern struct zebra_t zebrad;  oid ipfw_oid [] = { IPFWMIB }; @@ -130,7 +130,7 @@ struct variable zebra_variables[] =      {IPCIDRROUTESTATUS, ROWSTATUS, RONLY, ipCidrTable, 3, {4, 1, 16}}    }; - +  static u_char *  ipFwNumber (struct variable *v, oid objid[], size_t *objid_len,  	    int exact, size_t *val_len, WriteMethod **write_method)  | 
