From cffed8a128f2f96e0ab156e8d8dd26b272ef98f9 Mon Sep 17 00:00:00 2001 From: Mike Spengler Date: Tue, 19 Jan 1999 23:11:40 +0000 Subject: [PATCH] Don't return errors for 'atm show arpserver' command on sigpvc and spans interfaces. --- sys/netatm/sigpvc/sigpvc_if.c | 7 ++++--- sys/netatm/spans/spans_arp.c | 11 +++++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/sys/netatm/sigpvc/sigpvc_if.c b/sys/netatm/sigpvc/sigpvc_if.c index d17a761dae4..b3af607af6a 100644 --- a/sys/netatm/sigpvc/sigpvc_if.c +++ b/sys/netatm/sigpvc/sigpvc_if.c @@ -23,7 +23,7 @@ * Copies of this Software may be made, however, the above copyright * notice must be reproduced on all copies. * - * @(#) $Id: sigpvc_if.c,v 1.2 1998/10/31 20:06:56 phk Exp $ + * @(#) $Id: sigpvc_if.c,v 1.3 1998/12/04 22:54:53 archie Exp $ * */ @@ -46,7 +46,7 @@ #include #ifndef lint -__RCSID("@(#) $Id: sigpvc_if.c,v 1.2 1998/10/31 20:06:56 phk Exp $"); +__RCSID("@(#) $Id: sigpvc_if.c,v 1.3 1998/12/04 22:54:53 archie Exp $"); #endif @@ -653,8 +653,9 @@ sigpvc_ioctl(code, data, arg1) break; case AIOCS_INF_ARP: + case AIOCS_INF_ASV: /* - * Get ARP table information + * Get ARP table/server information */ /* We don't maintain any ARP information */ break; diff --git a/sys/netatm/spans/spans_arp.c b/sys/netatm/spans/spans_arp.c index a324fc42a40..d2d65e6c387 100644 --- a/sys/netatm/spans/spans_arp.c +++ b/sys/netatm/spans/spans_arp.c @@ -23,7 +23,7 @@ * Copies of this Software may be made, however, the above copyright * notice must be reproduced on all copies. * - * @(#) $Id: spans_arp.c,v 1.2 1998/10/31 20:06:56 phk Exp $ + * @(#) $Id: spans_arp.c,v 1.3 1998/12/04 22:54:53 archie Exp $ * */ @@ -44,7 +44,7 @@ #include #ifndef lint -__RCSID("@(#) $Id: spans_arp.c,v 1.2 1998/10/31 20:06:56 phk Exp $"); +__RCSID("@(#) $Id: spans_arp.c,v 1.3 1998/12/04 22:54:53 archie Exp $"); #endif @@ -1125,6 +1125,13 @@ spansarp_ioctl(code, data, arg1) aip->air_buf_len = buf_len; break; + case AIOCS_INF_ASV: + /* + * Get ARP server information + */ + /* SPANS doesn't have an ARP server */ + break; + default: err = EOPNOTSUPP; }