possible error in gifconfig

cpet cpet at sdf.org
Sat Apr 4 00:36:09 UTC 2015


Setting up a HE tunnel I notice that gifconfig_gif0 wrongly assigns the 
IPs

if I add in gifconfig_gif0="ip ip2"

ifconfig shows just:
inet 64.6.104.115 --> 184.105.253.10

if I add in ifconfig_gif0="tunnel ip ip2"
then it properly shows:

tunnel inet 64.6.104.115 --> 184.105.253.10

Making the tunnel work as expected.

I could not find the code which adds this in except for:

tmpargs=$(get_if_var $ifn gifconfig_IF)
eval ifconfig_${ifn}=\"tunnel \$tmpargs\"


More information about the freebsd-rc mailing list