pud: there is no hard dependency on smart gateway
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 10 Jan 2013 14:49:58 +0000 (15:49 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 10 Jan 2013 15:01:48 +0000 (16:01 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/pud/src/configuration.c

index 08c3e99..e73d80a 100644 (file)
@@ -1421,11 +1421,6 @@ int setUseLoopback(const char *value, void *data __attribute__ ((unused)),
 unsigned int checkConfig(void) {
        int retval = true;
 
-       if (!olsr_cnf->smart_gw_active) {
-               pudError(false, "Smart Gateway must be active");
-               retval = false;
-       }
-
        if (rxNonOlsrInterfaceCount == 0) {
                pudError(false, "No receive non-OLSR interfaces configured");
                retval = false;