summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/raycontrol/raycontrol.c2
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;
OpenPOWER on IntegriCloud