diff options
author | mks <mks@FreeBSD.org> | 1999-01-19 23:11:40 +0000 |
---|---|---|
committer | mks <mks@FreeBSD.org> | 1999-01-19 23:11:40 +0000 |
commit | 60d7689e0008f64c3171eb9194b0f02e0fd5d709 (patch) | |
tree | cab8802de9ae475bebd6e30057381050325aa7f6 | |
parent | 63c938b5c05564b333ec53b3a36fc5b611a53729 (diff) | |
download | FreeBSD-src-60d7689e0008f64c3171eb9194b0f02e0fd5d709.zip FreeBSD-src-60d7689e0008f64c3171eb9194b0f02e0fd5d709.tar.gz |
Don't return errors for 'atm show arpserver' command on sigpvc and spans
interfaces.
-rw-r--r-- | sys/netatm/sigpvc/sigpvc_if.c | 7 | ||||
-rw-r--r-- | 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 d17a761..b3af607 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 <netatm/sigpvc/sigpvc_var.h> #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 a324fc4..d2d65e6 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 <netatm/spans/spans_cls.h> #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; } |