diff options
author | Michael Brown | 2013-09-03 17:28:34 +0200 |
---|---|---|
committer | Michael Brown | 2013-09-03 17:30:18 +0200 |
commit | 43307b4e39300f6602a975bbb710b443e5fcd2b5 (patch) | |
tree | 10038dfacc57a976fcf2a6d0a112e0f346b69b00 /src/config/config_route.c | |
parent | [neighbour] Generalise concept of neighbour discovery (diff) | |
download | ipxe-43307b4e39300f6602a975bbb710b443e5fcd2b5.tar.gz ipxe-43307b4e39300f6602a975bbb710b443e5fcd2b5.tar.xz ipxe-43307b4e39300f6602a975bbb710b443e5fcd2b5.zip |
[ipv4] Abstract out protocol-specific portions of "route" command
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/config_route.c')
-rw-r--r-- | src/config/config_route.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/config/config_route.c b/src/config/config_route.c new file mode 100644 index 00000000..c31d2dae --- /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 <config/general.h> + +/** @file + * + * Routing management configuration options + * + */ + +/* + * Drag in routing management for relevant protocols + * + */ +#ifdef NET_PROTO_IPV4 +REQUIRE_OBJECT ( route_ipv4 ); +#endif |