Fix typo in inet type

This commit is contained in:
Simo Sorce
2008-06-09 17:55:32 -04:00
parent ea981d3065
commit 77906dce20

View File

@@ -1296,7 +1296,7 @@ int main(int argc, char *argv[])
for (tifa = ifa; tifa; tifa = tifa->ifa_next) { for (tifa = ifa; tifa; tifa = tifa->ifa_next) {
if (tifa->ifa_addr->sa_family != PF_INET && if (tifa->ifa_addr->sa_family != AF_INET &&
tifa->ifa_addr->sa_family != AF_INET6) { tifa->ifa_addr->sa_family != AF_INET6) {
/* not interesting for us */ /* not interesting for us */
continue; continue;