mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* (no subject)
@ 2001-10-31 20:07 Yu-Shun Wang
  0 siblings, 0 replies; only message in thread
From: Yu-Shun Wang @ 2001-10-31 20:07 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 919 bytes --]

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

[-- Attachment #2: Type: TEXT/PLAIN, Size: 288 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-31 20:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-31 20:07 Yu-Shun Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®