resolve: rename Link.name -> Link.ifname

This also changes the type from char[IF_NAMESIZE] to char*.
By changing the type, now resolved-link.h can drop the dependency to
the header net/if.h.
This commit is contained in:
Yu Watanabe
2019-04-13 17:51:59 +09:00
parent dc653bf487
commit 6ff79f7640
7 changed files with 28 additions and 27 deletions
+1 -1
View File
@@ -836,7 +836,7 @@ void dns_server_dump(DnsServer *s, FILE *f) {
assert(s->link);
fputs(" interface=", f);
fputs(s->link->name, f);
fputs(s->link->ifname, f);
}
fputs("]\n", f);