diff options
| author | Roy Marples <roy@marples.name> | 2019-05-31 22:43:26 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-05-31 22:43:26 +0100 |
| commit | d1890f0a7f4e374d51b24187dd69cf9a589119d7 (patch) | |
| tree | a2a3162f145321df7da3c4784ce26407b612f76f | |
| parent | a78aa3210f20bef2042c7070b3ff111707b6952f (diff) | |
| download | dhcpcd-ui-d1890f0a7f4e374d51b24187dd69cf9a589119d7.tar.xz | |
Preverse profile and fallback blocks.
| -rw-r--r-- | src/libdhcpcd/config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libdhcpcd/config.c b/src/libdhcpcd/config.c index 53949f4..ba4bc07 100644 --- a/src/libdhcpcd/config.c +++ b/src/libdhcpcd/config.c @@ -267,7 +267,9 @@ config(DHCPCD_CONNECTION *con, int action, const char *block, const char *name, } else { /* Start of a block, skip if not ours */ if (strcmp(option, "interface") == 0 || - strcmp(option, "ssid") == 0) + strcmp(option, "ssid") == 0 || + strcmp(option, "profile") == 0 || + strcmp(option, "fallback") == 0) { if (block && name && line && strcmp(option, block) == 0 && |
