add support for defaultroute "host" dependencies
[project/netifd.git] / system-dummy.c
index b3aefbe..a2411f3 100644 (file)
@@ -1,3 +1,16 @@
+/*
+ * 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 <sys/time.h>
 #include <stdio.h>
 #include <string.h>
@@ -53,6 +66,11 @@ int system_vlan_del(struct device *dev)
        return 0;
 }
 
+bool system_if_force_external(const char *ifname)
+{
+       return false;
+}
+
 int system_if_up(struct device *dev)
 {
        D(SYSTEM, "ifconfig %s up\n", dev->ifname);