Deleted Added
full compact
ifconfig.c (113503) ifconfig.c (114164)
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
43#endif
44static const char rcsid[] =
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
43#endif
44static const char rcsid[] =
45 "$FreeBSD: head/sbin/ifconfig/ifconfig.c 113503 2003-04-15 06:25:58Z mdodd $";
45 "$FreeBSD: head/sbin/ifconfig/ifconfig.c 114164 2003-04-28 16:37:38Z sam $";
46#endif /* not lint */
47
48#include <sys/param.h>
49#include <sys/ioctl.h>
50#include <sys/socket.h>
51#include <sys/sysctl.h>
52#include <sys/time.h>
53#include <sys/module.h>

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

231 { "link1", IFF_LINK1, setifflags },
232 { "-link1", -IFF_LINK1, setifflags },
233 { "link2", IFF_LINK2, setifflags },
234 { "-link2", -IFF_LINK2, setifflags },
235 { "monitor", IFF_MONITOR, setifflags },
236 { "-monitor", -IFF_MONITOR, setifflags },
237#ifdef USE_IF_MEDIA
238 { "media", NEXTARG, setmedia },
46#endif /* not lint */
47
48#include <sys/param.h>
49#include <sys/ioctl.h>
50#include <sys/socket.h>
51#include <sys/sysctl.h>
52#include <sys/time.h>
53#include <sys/module.h>

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

231 { "link1", IFF_LINK1, setifflags },
232 { "-link1", -IFF_LINK1, setifflags },
233 { "link2", IFF_LINK2, setifflags },
234 { "-link2", -IFF_LINK2, setifflags },
235 { "monitor", IFF_MONITOR, setifflags },
236 { "-monitor", -IFF_MONITOR, setifflags },
237#ifdef USE_IF_MEDIA
238 { "media", NEXTARG, setmedia },
239 { "mode", NEXTARG, setmediamode },
239 { "mediaopt", NEXTARG, setmediaopt },
240 { "-mediaopt", NEXTARG, unsetmediaopt },
241#endif
242#ifdef USE_VLANS
243 { "vlan", NEXTARG, setvlantag },
244 { "vlandev", NEXTARG, setvlandev },
245 { "-vlandev", NEXTARG, unsetvlandev },
246#endif

--- 1651 unchanged lines hidden ---
240 { "mediaopt", NEXTARG, setmediaopt },
241 { "-mediaopt", NEXTARG, unsetmediaopt },
242#endif
243#ifdef USE_VLANS
244 { "vlan", NEXTARG, setvlantag },
245 { "vlandev", NEXTARG, setvlandev },
246 { "-vlandev", NEXTARG, unsetvlandev },
247#endif

--- 1651 unchanged lines hidden ---