summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2012-02-14 01:27:32 +0000
committernorly <ny-git@enpas.org>2012-02-14 01:27:32 +0000
commit504ab94abcd8209ce96bcb747db7536f9d49c083 (patch)
treed8ddffea203769f5460348f74ac85c63c33c3f7e /config.h
parent38a130597b1f52028f7df79ab5f348dc306afa85 (diff)
Cleaned up 'netif'.
Replaced 'netif' with 'netif_named'. Fixed memory leak in new 'netif'. Outsourced raw file reading to tools.c.
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h b/config.h
index 7879911..58495c7 100644
--- a/config.h
+++ b/config.h
@@ -9,6 +9,6 @@
#define CPU_HISTORY_SIZE 10
#define NUM_CPUS 2
-#define IFNAME "ppp0"
+#define NETIF_BASEDIR "/sys/class/net/"
#endif