diff options
author | SUZUKI, Shinsuke <suz@kame.net> | 2007-02-27 14:21:41 +0000 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2010-08-06 15:37:36 +0200 |
commit | fe2c74572f875332b461ba2a17a594a7ee4eb2d3 (patch) | |
tree | 84ca26e3f0168158823d7c741479e37ba069a862 /dhcp6c.c | |
parent | fcdc0798bb2be5fa00427240afda6bdfd3d0a392 (diff) |
supported compilation on Solaris (contributed by James Carlson)
Diffstat (limited to 'dhcp6c.c')
-rw-r--r-- | dhcp6c.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -317,12 +317,14 @@ client6_init() strerror(errno)); exit(1); } +#ifdef IPV6_V6ONLY if (setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, &on, sizeof(on)) < 0) { dprintf(LOG_ERR, FNAME, "setsockopt(IPV6_V6ONLY): %s", strerror(errno)); exit(1); } +#endif /* * According RFC3315 2.2, only the incoming port should be bound to UDP |