Skip to content

Commit

Permalink
Remove gratuitous ARP plumbing which breaks Solaris 10
Browse files Browse the repository at this point in the history
Suggested by Kazuyoshi Aizawa and tested on S10, S11, oi_151a with both
IPv6 and Legacy IP.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Apr 19, 2012
1 parent 759cb4a commit 418fade
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tun.c
Expand Up @@ -393,12 +393,6 @@ static int link_proto(int unit_nr, const char *devname, uint64_t flags)
close(tun2_fd);
return -1;
}
if (ioctl(ip_fd, I_PUSH, "arp") < 0) {
perror(_("Can't push ARP"));
close(tun2_fd);
close(ip_fd);
return -1;
}

mux_id = ioctl(ip_fd, I_LINK, tun2_fd);
if (mux_id < 0) {
Expand Down

0 comments on commit 418fade

Please sign in to comment.