diff options
| author | Brian Somers <brian@FreeBSD.org> | 1999-05-13 17:09:44 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1999-05-13 17:09:44 +0000 |
| commit | 29d97436c5c15edc15c42ec702a0d2296e502123 (patch) | |
| tree | 3506a0cd10e9fbaf3a5c13c88b1ee456b020e7f1 /sbin/natd | |
| parent | 9c501140f78ab35de27a97f52fdd2161970a729d (diff) | |
Notes
Diffstat (limited to 'sbin/natd')
| -rw-r--r-- | sbin/natd/natd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/natd/natd.c b/sbin/natd/natd.c index 6adb85adbdf1..d67944e23706 100644 --- a/sbin/natd/natd.c +++ b/sbin/natd/natd.c @@ -9,7 +9,7 @@ * * Ari Suutari <suutari@iki.fi> * - * $Id: natd.c,v 1.15 1999/04/25 22:33:30 imp Exp $ + * $Id: natd.c,v 1.16 1999/05/13 16:58:31 brian Exp $ */ #define SYSLOG_NAMES @@ -1431,7 +1431,7 @@ void SetupPortRedirect (const char* parms) errx (1, "redirect_port: port ranges must be equal in size"); /* Remote port range is allowed to be '0' which means all ports. */ - if (numRemotePorts != numLocalPorts && (numRemotePorts != 1 || remotePort != 0) + if (numRemotePorts != numLocalPorts && (numRemotePorts != 1 || remotePort != 0)) errx (1, "redirect_port: remote port must be 0 or equal to local port range in size"); for (i = 0 ; i < numPublicPorts ; ++i) { |
