#!/pkg/bin/ksh
###
### March 2004, Simon Osborne
###
### Copyright (c) 2004-2005 by cisco Systems, Inc.
### All rights reserved.
###
### If the 'all' AFI parameter was specified in a show command, this process
### is run to execute the separate ipv4 and ipv6 requests.
###
### The first parameters given will be -A and the 'any' AFI tag. This AFI tag
### must be converted into the respective tags for ipv4 and ipv6 before the
### show commands are called. All other args are passed through unchanged.
###
### A -B flag is prepended to indicate to the show process that data on both
### AFIs was requested, and therefore each process should print out a header
### indicating the AFI to which the following data corresponds.
###

shift;
shift;
ipv4_static_show -B -A 1 $@;
ipv6_static_show -B -A 2 $@;

