Messages in this thread Patch in this message |  | | Date | Wed, 31 Oct 2001 12:07:51 -0800 (PST) | From | Yu-Shun Wang <> |
| |
Hi, Some questions about ipip.c in 2.4.*:
The following commands don't work anymore:
% ip tunnel add mode ipip .... (without giving a name) (assume this creates tunl5) % ip tunnel change tunl5 .... ! ioctl error !
This happened on ipip.c version 1.42 and 1.46. The attached patch fixed it in 1.46. Please modify the patch as you see fits since I am not very familar with kernel mod.
The other question is, is iproute2 considered part of the core Linux commands like ifconfig, route, etc.? It'd seem kind of stange that it wasn't. Or is there any plan to integrate the functionality of "ip" command into the likes of ifconfig?
Thanks,
yushun.
____________________________________________________________________________ Yu-Shun Wang <yushunwa@isi.edu> Information Sciences Institute University of Southern California --- ipip.c.7.2-patched Wed Oct 31 10:04:46 2001 +++ ipip.c.7.2 Wed Oct 31 09:59:59 2001 @@ -256,7 +256,6 @@ if (i==100) goto failed; memcpy(parms->name, dev->name, IFNAMSIZ); - strcpy(nt->parms.name, dev->name); } if (register_netdevice(dev) < 0) goto failed; |  |