diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/inet/ip/ip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/uts/common/inet/ip/ip.c b/usr/src/uts/common/inet/ip/ip.c index 15c26478f7..b1c9ce561a 100644 --- a/usr/src/uts/common/inet/ip/ip.c +++ b/usr/src/uts/common/inet/ip/ip.c @@ -18483,6 +18483,9 @@ ip_snmp_get_mib2_ip_traffic_stats(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) (int)optp->level, (int)optp->name, (int)optp->len)); qreply(q, mpctl); + if (mp2ctl == NULL) + return (NULL); + return (ip_snmp_get_mib2_ip(q, mp2ctl, &global_ip_mib, ipst)); } |