diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1998-03-21 10:04:55 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1998-03-21 10:04:55 +0000 |
| commit | f4b66beedb1f2c1f5413c63927069490c58d80f9 (patch) | |
| tree | b9974c621ce6d3d5054fe5cc47ebdcbc84178204 /contrib/ipfilter/samples | |
| parent | af5dd3181a44c8c60d82fe2f4f8ff9ff81d98e26 (diff) | |
Notes
Diffstat (limited to 'contrib/ipfilter/samples')
| -rw-r--r-- | contrib/ipfilter/samples/proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ipfilter/samples/proxy.c b/contrib/ipfilter/samples/proxy.c index 8d77cf020b3a..b72cccec9aaf 100644 --- a/contrib/ipfilter/samples/proxy.c +++ b/contrib/ipfilter/samples/proxy.c @@ -97,7 +97,7 @@ char *argv[]; * Log it */ syslog(LOG_DAEMON|LOG_INFO, "connect to %s,%d", - inet_ntoa(natlook.nl_realip), natlook.nl_realport); + inet_ntoa(natlook.nl_realip), ntohs(natlook.nl_realport)); printf("connect to %s,%d\n", inet_ntoa(natlook.nl_realip), ntohs(natlook.nl_realport)); |
