diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-03-25 11:27:46 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-03-25 11:27:46 +0000 |
| commit | 0c6257801e21401d55cc2f4635d6eaf32a49c163 (patch) | |
| tree | f1937fa16a2ab1a550165595ad96188c3178fa7f | |
| parent | 897af91bac51267d0cabb3e3f9899db88ec232d0 (diff) | |
Notes
| -rw-r--r-- | sbin/ip6fw/ip6fw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ip6fw/ip6fw.c b/sbin/ip6fw/ip6fw.c index 7069e5bf34aea..dc09c1cc0bc25 100644 --- a/sbin/ip6fw/ip6fw.c +++ b/sbin/ip6fw/ip6fw.c @@ -325,7 +325,7 @@ show_ip6fw(struct ip6_fw *chain) mb=mask_bits((u_char *)&chain->fw_dmsk,sizeof(chain->fw_dmsk)); if (mb==128 && do_resolv) { - he=gethostbyaddr((char *)&(chain->fw_dst),sizeof(chain->fw_dst),AF_INET); + he=gethostbyaddr((char *)&(chain->fw_dst),sizeof(chain->fw_dst),AF_INET6); if (he==NULL) { printf(inet_ntop(AF_INET6,&chain->fw_dst,ntop_buf,sizeof(ntop_buf))); } else |
