commit | 3979ef91de9ed17d21672aaaefd6c228485135a2 | [log] [tgz] |
---|---|---|
author | Alexandre Cassen <acassen@freebox.fr> | Sun Apr 04 22:40:14 2010 +0200 |
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | Mon Apr 12 11:45:51 2010 -0700 |
tree | 539708f36813c49e29e9a23f1285ad237f141a54 | |
parent | ab814d635529787036b3caddb590034a4e6a48e6 [diff] |
Detect 6rd kernel missing support / 6rd tunnel scope This patch fix two issues: * If kernel is not supporting 6rd then ioctl() call will return EINVAL, if so just skip perror call. * 6rd scope is ipv6/ip tunnels. Dont try to fetch 6rd tunnel parms if tunnel protocol != IPPROTO_IPV6. Signed-off-by: Alexandre Cassen <acassen@freebox.fr>