iptunnel: allow ISATAP with stateless autoconf
please commit my patch below to the iproutes package. It just an incorrect check so that adding an isatap tunnel with remote works, since it's needed if one wants to use stateless autoconf. The current check makes tunnel mode isatap unusable for all client users.
This commit is contained in:
parent
6cdbf37063
commit
eeef12c514
|
|
@ -252,13 +252,8 @@ static int parse_args(int argc, char **argv, int cmd, struct ip_tunnel_parm *p)
|
|||
fprintf(stderr, "Broadcast tunnel requires a source address.\n");
|
||||
return -1;
|
||||
}
|
||||
if (isatap) {
|
||||
if (p->iph.daddr) {
|
||||
fprintf(stderr, "no remote with isatap.\n");
|
||||
return -1;
|
||||
}
|
||||
if (isatap)
|
||||
p->i_flags |= SIT_ISATAP;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue