aboutsummaryrefslogtreecommitdiffstats
path: root/configure.h
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-07-23 16:45:46 -0700
committerDmitry Shmidt <dimitrysh@google.com>2012-07-23 16:54:15 -0700
commita3a2260384a906e1674c7498c2f479e9f37bc503 (patch)
tree5e5adc874a930144f847f57a08da862413b63668 /configure.h
parent2af699ea51cca49bd0f19080c9d73170e5bdadbc (diff)
downloadexternal_dhcpcd-a3a2260384a906e1674c7498c2f479e9f37bc503.zip
external_dhcpcd-a3a2260384a906e1674c7498c2f479e9f37bc503.tar.gz
external_dhcpcd-a3a2260384a906e1674c7498c2f479e9f37bc503.tar.bz2
dhcpcd: Update to Version 5.5.6
Change-Id: I98c378688be723a2a602ec17c26bc13f2fd83cc8 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'configure.h')
-rw-r--r--configure.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.h b/configure.h
index 17c506e..e125369 100644
--- a/configure.h
+++ b/configure.h
@@ -1,6 +1,6 @@
/*
* dhcpcd - DHCP client daemon
- * Copyright (c) 2006-2009 Roy Marples <roy@marples.name>
+ * Copyright (c) 2006-2012 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
@@ -31,8 +31,10 @@
#include "net.h"
int send_interface(int, const struct interface *);
-int run_script(const struct interface *);
+int run_script_reason(const struct interface *, const char *);
void build_routes(void);
int configure(struct interface *);
int route_deleted(const struct rt *);
+
+#define run_script(ifp) run_script_reason(ifp, (ifp)->state->reason);
#endif