# HG changeset patch # User Roy Marples # Date 1602084086 -3600 # Node ID 4d665b4bede5f134f08f657674cebf14fa121ba2 # Parent 18a7063f70c198bb83124d2a50ee5d797a8c3d34 Linux: fix compile diff -r 18a7063f70c1 -r 4d665b4bede5 src/if.c --- a/src/if.c Wed Oct 07 15:31:35 2020 +0100 +++ b/src/if.c Wed Oct 07 16:21:26 2020 +0100 @@ -423,12 +423,14 @@ 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; }