Deleted Added
full compact
af_nd6.c (198006) af_nd6.c (222527)
1/*
2 * Copyright (c) 2009 Hiroki Sato. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 */
25
26#ifndef lint
27static const char rcsid[] =
1/*
2 * Copyright (c) 2009 Hiroki Sato. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 */
25
26#ifndef lint
27static const char rcsid[] =
28 "$FreeBSD: head/sbin/ifconfig/af_nd6.c 198006 2009-10-12 21:11:50Z hrs $";
28 "$FreeBSD: head/sbin/ifconfig/af_nd6.c 222527 2011-05-31 14:40:21Z bz $";
29#endif /* not lint */
30
31#include <sys/param.h>
32#include <sys/ioctl.h>
33#include <sys/socket.h>
34#include <sys/sysctl.h>
35#include <net/if.h>
36#include <net/route.h>

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

220 .af_name = "nd6",
221 .af_af = AF_LOCAL,
222 .af_other_status= nd6_status,
223};
224
225static __constructor void
226nd6_ctor(void)
227{
29#endif /* not lint */
30
31#include <sys/param.h>
32#include <sys/ioctl.h>
33#include <sys/socket.h>
34#include <sys/sysctl.h>
35#include <net/if.h>
36#include <net/route.h>

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

220 .af_name = "nd6",
221 .af_af = AF_LOCAL,
222 .af_other_status= nd6_status,
223};
224
225static __constructor void
226nd6_ctor(void)
227{
228
229 if (!feature_present("inet6"))
230 return;
231
228 af_register(&af_nd6);
229}
232 af_register(&af_nd6);
233}