diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-05-14 12:17:50 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-06-11 17:33:29 +0200 |
commit | 95e41fb80ae6b7c6b5bdc6556a235a8b2db6cdf4 (patch) | |
tree | 5b6d2b4cb87b3eb280779e0aafa3741d9db03876 /src/starter/cmp.c | |
parent | 163b22738648c9c915cb1107e7cbf413cbff6c94 (diff) | |
download | strongswan-95e41fb80ae6b7c6b5bdc6556a235a8b2db6cdf4.tar.bz2 strongswan-95e41fb80ae6b7c6b5bdc6556a235a8b2db6cdf4.tar.xz |
starter: Drop support for %defaultroute.
Diffstat (limited to 'src/starter/cmp.c')
-rw-r--r-- | src/starter/cmp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/starter/cmp.c b/src/starter/cmp.c index 0727cf5f0..0072e3ed7 100644 --- a/src/starter/cmp.c +++ b/src/starter/cmp.c @@ -21,7 +21,6 @@ #include "confread.h" #include "args.h" -#include "interfaces.h" #include "cmp.h" #define VARCMP(obj) if (c1->obj != c2->obj) return FALSE @@ -105,11 +104,3 @@ starter_cmp_pluto(starter_config_t *c1, starter_config_t *c2) return cmp_args(KW_PLUTO_FIRST, KW_PLUTO_LAST, (char *)c1, (char *)c2); } - -bool -starter_cmp_defaultroute(defaultroute_t *d1, defaultroute_t *d2) -{ - if ((d1 == NULL) || (d2 == NULL)) - return FALSE; - return memcmp(d1, d2, sizeof(defaultroute_t)) == 0; -} |