[lkml]   [2001]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
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?



Yu-Shun Wang <> 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->, dev->name);
if (register_netdevice(dev) < 0)
goto failed;
 \ /
  Last update: 2005-03-22 13:12    [W:0.031 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site