summaryrefslogtreecommitdiffstats
path: root/dhcpcd.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-01-13 17:04:28 +0000
committerRoy Marples <roy@marples.name>2009-01-13 17:04:28 +0000
commit1ba422363a3e1bbee4bbbee720dfeadfb7d82ee1 (patch)
treed9b2c0bf414a1d3ee06172e803f1c239f11b6b10 /dhcpcd.h
parente467f4b21724ad4c3c9f7a3ee9af91c4385a8a88 (diff)
downloaddhcpcd-1ba422363a3e1bbee4bbbee720dfeadfb7d82ee1.tar.xz
Store the reason we run the script against the interface state.
This enables us to query states via the control socket.
Diffstat (limited to 'dhcpcd.h')
-rw-r--r--dhcpcd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dhcpcd.h b/dhcpcd.h
index 61e552de..b5968e26 100644
--- a/dhcpcd.h
+++ b/dhcpcd.h
@@ -65,6 +65,7 @@ struct if_state {
struct dhcp_message *new;
struct dhcp_message *old;
struct dhcp_lease lease;
+ const char *reason;
time_t interval;
time_t nakoff;
uint32_t xid;