CVSROOT: /cvs Module name: src Changes by: st...@cvs.openbsd.org 2011/05/26 07:10:11
Modified files: sbin/ifconfig : ifconfig.c Log message: Don't provide an af hint to getaddrinfo in settunnel(), this function already checks that families of source and destination addresses match and that's all we need. This allows "ifconfig foo tunnel 1::1 2::2" syntax rather than requiring "ifconfig foo inet6 tunnel 1::1 2::2", which in turn allows hostname.if files to create an IPv4-in-IPv6 tunnel without games with shell escapes. ok dcoppa@, seems ok todd@, "Yes, yes and yes" claudio@