Fixes to -n and -N options.

This commit is contained in:
pdw
2004-01-20 09:45:35 +00:00
parent 25102a4e03
commit 50cab8a742
2 changed files with 6 additions and 2 deletions

View File

@@ -4,6 +4,10 @@ $Id$
Attributions apply to all preceding items up to the next blank line. Attributions apply to all preceding items up to the next blank line.
Unattributed items are by Paul Warren and Chris Lightfoot. Unattributed items are by Paul Warren and Chris Lightfoot.
0.16
* Fixed behaviour of -n and -N options
Klaus Sperner <klaus@heaven.escape.de>
0.15 10/11/03 0.15 10/11/03
* Added linear bar scales (default) ("L") * Added linear bar scales (default) ("L")
* Added fixed upper limit for bandwidth * Added fixed upper limit for bandwidth

View File

@@ -269,11 +269,11 @@ void options_read_args(int argc, char **argv) {
exit(0); exit(0);
case 'n': case 'n':
config_set_string("dns-resolution","true"); config_set_string("dns-resolution","false");
break; break;
case 'N': case 'N':
config_set_string("port-resolution","true"); config_set_string("port-resolution","false");
break; break;
case 'i': case 'i':