Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 06/30/2000 11:12:48
Module Name:	basesrc
Committed By:	thorpej
Date:		Fri Jun 30 18:12:47 UTC 2000

Modified Files:
	basesrc/sbin/ifconfig [netbsd-1-5]: ifconfig.8 ifconfig.c

Log Message:
- Add `tunnel' and `deletetunnel' commands, which issue the ioctls
  that gifconfig(8) would issue to configure tunnel endpoints.  This
  allows IP tunnel interfaces (`gif' right now, and `gre' later) to
  be configured with ifconfig(8), and via /etc/ifconfig.<interface>.
  Partially taken from similar changes in OpenBSD.
- Const poison the command functions a bit.  We really need to clean
  up the command function interface.

Rationale for pulling into netbsd-1-5 branch: While this looks like
a feature enhancement, it actually fixes a bug -- without this change
or a change in rc.d's network bring-up, it is not possible to configure
IP tunnels as a normal part of bringing up the network.


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.32.4.1 basesrc/sbin/ifconfig/ifconfig.8
cvs rdiff -r1.79 -r1.79.4.1 basesrc/sbin/ifconfig/ifconfig.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.