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.
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;
}