diff options
| author | Roy Marples <roy@marples.name> | 2020-10-07 16:21:26 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-10-07 16:21:26 +0100 |
| commit | 6a5456df2211fcb1969044e6c678a5c8aa7f07d2 (patch) | |
| tree | 3fef66ab8148b6629b56344df0e540361562fed9 /src/if.c | |
| parent | f1f3372c470cd347c49ca490353bb1134298d360 (diff) | |
| download | dhcpcd-6a5456df2211fcb1969044e6c678a5c8aa7f07d2.tar.xz | |
Linux: fix compile
Diffstat (limited to 'src/if.c')
| -rw-r--r-- | src/if.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -423,12 +423,14 @@ if_check_arphrd(struct interface *ifp, unsigned int active, bool if_noconf) break; default: if (active) { + int i; + if (if_noconf) active = IF_INACTIVE; i = active ? LOG_WARNING : LOG_DEBUG; logmessage(i, "%s: unsupported" " interface type 0x%.2x", - ifp->name, ifp->hw_type); + ifp->name, ifp->hwtype); } break; } |
