Deleted Added
full compact
config.c (125011) config.c (158882)
1/*
2 * config.c
3 *
4 * Copyright (c) 1996-1999 Whistle Communications, Inc.
5 * All rights reserved.
6 *
7 * Subject to the following obligations and disclaimer of warranty, use and
8 * redistribution of this software, in source or object code forms, with or

--- 19 unchanged lines hidden (view full) ---

28 * WITHOUT LIMITATION, ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
29 * PUNITIVE, OR CONSEQUENTIAL DAMAGES, PROCUREMENT OF SUBSTITUTE GOODS OR
30 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
31 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
33 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
34 * OF SUCH DAMAGE.
35 *
1/*
2 * config.c
3 *
4 * Copyright (c) 1996-1999 Whistle Communications, Inc.
5 * All rights reserved.
6 *
7 * Subject to the following obligations and disclaimer of warranty, use and
8 * redistribution of this software, in source or object code forms, with or

--- 19 unchanged lines hidden (view full) ---

28 * WITHOUT LIMITATION, ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
29 * PUNITIVE, OR CONSEQUENTIAL DAMAGES, PROCUREMENT OF SUBSTITUTE GOODS OR
30 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
31 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
33 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
34 * OF SUCH DAMAGE.
35 *
36 * $FreeBSD: head/usr.sbin/ngctl/config.c 125011 2004-01-26 10:27:18Z ru $
36 * $FreeBSD: head/usr.sbin/ngctl/config.c 158882 2006-05-24 14:46:55Z glebius $
37 */
38
37 */
38
39#include <err.h>
40#include <errno.h>
41#include <netgraph.h>
42#include <stdio.h>
43#include <string.h>
44#include <unistd.h>
45
39#include "ngctl.h"
40
41#define NOCONFIG "<no config>"
42
43static int ConfigCmd(int ac, char **av);
44
45const struct ngcmd config_cmd = {
46 ConfigCmd,

--- 58 unchanged lines hidden ---
46#include "ngctl.h"
47
48#define NOCONFIG "<no config>"
49
50static int ConfigCmd(int ac, char **av);
51
52const struct ngcmd config_cmd = {
53 ConfigCmd,

--- 58 unchanged lines hidden ---