summaryrefslogtreecommitdiffstats
path: root/dhcpcd.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-01-01 20:51:04 +0000
committerRoy Marples <roy@marples.name>2009-01-01 20:51:04 +0000
commitc53cf4ef4b332cd1ff0cb1b0dc23fc193aebb892 (patch)
treebc4b3e699a9a40ecf7eb74249ca0c89f2ccb7f61 /dhcpcd.h
parent91a44b91b06f127a98ae7f64e377e59d47eba329 (diff)
downloaddhcpcd-c53cf4ef4b332cd1ff0cb1b0dc23fc193aebb892.tar.xz
You can now add a configure block per ssid if the interface is wireless.
Diffstat (limited to 'dhcpcd.h')
-rw-r--r--dhcpcd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dhcpcd.h b/dhcpcd.h
index 07d69c24..0bcb280d 100644
--- a/dhcpcd.h
+++ b/dhcpcd.h
@@ -1,6 +1,6 @@
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2008 Roy Marples <roy@marples.name>
+ * Copyright 2006-2009 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
@@ -37,6 +37,7 @@
#include "if-options.h"
#define HWADDR_LEN 20
+#define IF_SSIDSIZE 33
enum DHS {
DHS_INIT,
@@ -85,6 +86,7 @@ struct interface
int metric;
int carrier;
int arpable;
+ char ssid[IF_SSIDSIZE];
int raw_fd;
int udp_fd;