+/*
+ * netifd - network interface daemon
+ * Copyright (C) 2012 Felix Fietkau <nbd@openwrt.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2
+ * as published by the Free Software Foundation
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
static bool
static_proto_setup(struct static_proto_state *state)
{
- return proto_apply_ip_settings(state->proto.iface, state->config) == 0;
+ return proto_apply_static_ip_settings(state->proto.iface, state->config) == 0;
}
static int
case PROTO_CMD_TEARDOWN:
break;
}
+
return ret;
}