*: 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>
diff --git a/zebra/zebra_routemap.c b/zebra/zebra_routemap.c
index 39c7e1b..b0dca08 100644
--- a/zebra/zebra_routemap.c
+++ b/zebra/zebra_routemap.c
@@ -123,7 +123,7 @@
return CMD_SUCCESS;
}
-
+
/* `match interface IFNAME' */
/* Match function return 1 if match is success else return zero. */
static route_map_result_t
@@ -467,7 +467,7 @@
route_match_ip_next_hop_compile,
route_match_ip_next_hop_free
};
-
+
/* `match ip next-hop prefix-list PREFIX_LIST' */
static route_map_result_t
@@ -525,7 +525,7 @@
route_match_ip_next_hop_prefix_list_compile,
route_match_ip_next_hop_prefix_list_free
};
-
+
/* `match ip address IP_ACCESS_LIST' */
/* Match function should return 1 if match is success else return
@@ -571,7 +571,7 @@
route_match_ip_address_compile,
route_match_ip_address_free
};
-
+
/* `match ip address prefix-list PREFIX_LIST' */
static route_map_result_t
@@ -612,7 +612,7 @@
route_match_ip_address_prefix_list_free
};
-
+
/* `set src A.B.C.D' */
/* Set src. */