#include <string.h>
#include <netinet/in.h>
#include "net.h"
+#include "plugin.h"
#define MTETHERD_DEVICE_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), TYPE_MTETHERD_DEVICE, MTetherDDevicePrivate))
self->priv->dhcp_start = htonl(start);
self->priv->dhcp_end = htonl(addr);
} else {
- g_warning("Invalid subnet index: %u (0..%u expected)", index, MAX_DEVICES - 1);
+ g_log(MTETHERD_LOG_DOMAIN, G_LOG_LEVEL_WARNING, "Invalid subnet index: %u (0..%u expected)", index, MAX_DEVICES - 1);
}
}
}