kernel-netlink: Define defaults for routing table and prio
authorTobias Brunner <tobias@strongswan.org>
Tue, 16 Apr 2013 11:46:32 +0000 (13:46 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 3 May 2013 13:11:19 +0000 (15:11 +0200)
src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c

index 3e0725a..9586fa4 100644 (file)
 /** maximum recursion when searching for addresses in get_route() */
 #define MAX_ROUTE_RECURSION 2
 
+#ifndef ROUTING_TABLE
+#define ROUTING_TABLE 0
+#endif
+
+#ifndef ROUTING_TABLE_PRIO
+#define ROUTING_TABLE_PRIO 0
+#endif
+
 typedef struct addr_entry_t addr_entry_t;
 
 /**