summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index 1803a41..93adca6 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -16,7 +16,6 @@
#include <netinet/in.h>
#include <netinet/icmp6.h>
#include <netinet/ether.h>
-#include <net/if.h>
#include <stdbool.h>
#include <syslog.h>
@@ -118,8 +117,8 @@ struct interface {
struct list_head head;
int ifindex;
- char ifname[IF_NAMESIZE];
- char name[IF_NAMESIZE];
+ char *ifname;
+ const char *name;
// Runtime data
struct uloop_timeout timer_rs;