Mercurial > hg > dhcpcd
changeset 2478:698b04b93c15 draft
These are not DHCP states.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Tue, 06 May 2014 18:15:52 +0000 |
| parents | 0cb34a762c93 |
| children | 021191466e81 |
| files | script.c |
| diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/script.c Tue May 06 18:14:43 2014 +0000 +++ b/script.c Tue May 06 18:15:52 2014 +0000 @@ -263,6 +263,13 @@ else if (strcmp(reason, "ROUTERADVERT") == 0) ra = 1; #endif + else if (strcmp(reason, "PREINIT") == 0 || + strcmp(reason, "CARRIER") == 0 || + strcmp(reason, "NOCARRIER") == 0 || + strcmp(reason, "UNKNOWN") == 0 || + strcmp(reason, "DEPARTED") == 0 || + strcmp(reason, "STOPPED") == 0) + ; #ifdef INET else dhcp = 1;
