diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-01-03 02:33:48 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-01-03 02:33:48 +0100 |
commit | 96376f0df63c5df8c1380f0dd58b70d33566d48e (patch) | |
tree | 5c9eb82320f601e2f7637d36e58dd783d38a5914 /util/ilan.c | |
parent | 62a52f983e23e7b63b6bd5db6bd1f08a0259002a (diff) | |
parent | f85b8b834b7ff85c80503faa73f237040330087b (diff) |
Merge tag 'upstream/3.0.1'
Upstream version 3.0.1
Diffstat (limited to 'util/ilan.c')
-rw-r--r-- | util/ilan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/ilan.c b/util/ilan.c index 91dda48..0c47e4d 100644 --- a/util/ilan.c +++ b/util/ilan.c @@ -305,7 +305,7 @@ extern char *get_sensor_type_desc(uchar stype); /*from ievents.c*/ /* * Global variables */ -static char * progver = "3.00"; +static char * progver = "3.01"; static char * progname = "ilan"; static char fdebug = 0; static char fipmilan = 0; @@ -4745,12 +4745,12 @@ main(int argc, char **argv) if (ret != 0) { nerrs++; lasterr = ret; } else ngood++; } - if (lan_user != 0) { + if (lan_user != 0) { j = DisableUser(lan_user); /*disable this lan user*/ printf("DisableUser(%d), ret = %d\n",lan_user,j); if (j != 0) { nerrs++; lasterr = j; } - else ngood++; - } + else ngood++; + } LanRecord.data[0] = 0x01; /* static IP address source */ ret = SetLanEntry(4, &LanRecord, 1); printf("SetLanEntry(4), ret = %d\n",ret); |