diff options
author | dmlb <dmlb@FreeBSD.org> | 2001-05-03 20:58:22 +0000 |
---|---|---|
committer | dmlb <dmlb@FreeBSD.org> | 2001-05-03 20:58:22 +0000 |
commit | 9ede0768be8a5ace1b5a174a79a479ee35ced977 (patch) | |
tree | 6e512d24d2fca2d18476ce3d9d00adae1f3e9f2c /usr.sbin/raycontrol | |
parent | 5ba2e3199de125b63a386e41d9393debc7bc9530 (diff) | |
download | FreeBSD-src-9ede0768be8a5ace1b5a174a79a479ee35ced977.zip FreeBSD-src-9ede0768be8a5ace1b5a174a79a479ee35ced977.tar.gz |
Off by one in counting the number of MIB entries.
Diffstat (limited to 'usr.sbin/raycontrol')
-rw-r--r-- | usr.sbin/raycontrol/raycontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/raycontrol/raycontrol.c b/usr.sbin/raycontrol/raycontrol.c index 604960f..dbfe5c3 100644 --- a/usr.sbin/raycontrol/raycontrol.c +++ b/usr.sbin/raycontrol/raycontrol.c @@ -183,7 +183,7 @@ ray_dumpinfo(char *iface) printf("%-26s\t", mib_strings[RAY_MIB_VERSION]); printf("%d\n", 3+version); - for (mib = RAY_MIB_NET_TYPE; mib < RAY_MIB_MAX; mib++) { + for (mib = RAY_MIB_NET_TYPE; mib <= RAY_MIB_MAX; mib++) { if ((mib_info[mib][0] & version) == 0) continue; |