Don't return errors for 'atm show arpserver' command on sigpvc and spans

interfaces.
This commit is contained in:
Mike Spengler 1999-01-19 23:11:40 +00:00
parent bc8fb49115
commit cffed8a128
2 changed files with 13 additions and 5 deletions

View file

@ -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;

View file

@ -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;
}