From 43307b4e39300f6602a975bbb710b443e5fcd2b5 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 3 Sep 2013 16:28:34 +0100 Subject: [ipv4] Abstract out protocol-specific portions of "route" command Signed-off-by: Michael Brown --- src/config/config_route.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/config/config_route.c (limited to 'src/config') diff --git a/src/config/config_route.c b/src/config/config_route.c new file mode 100644 index 000000000..c31d2dae0 --- /dev/null +++ b/src/config/config_route.c @@ -0,0 +1,24 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2, or (at + * your option) any later version. + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#include + +/** @file + * + * Routing management configuration options + * + */ + +/* + * Drag in routing management for relevant protocols + * + */ +#ifdef NET_PROTO_IPV4 +REQUIRE_OBJECT ( route_ipv4 ); +#endif -- cgit v1.2.3-55-g7522