[ipv4] Abstract out protocol-specific portions of "route" command

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2013-09-03 16:28:34 +01:00
parent c6a04085d2
commit 43307b4e39
4 changed files with 115 additions and 14 deletions

24
src/config/config_route.c Normal file
View File

@@ -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