add "nohostroute" as alias for "-hostroute" option

(all the other "-" options already have such an alias)
This commit is contained in:
paul 2000-12-07 12:46:49 +00:00
parent 30b8800ff7
commit 6f196702e8
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
char options_rcsid[] = "$Id: options.c,v 1.19 2000/12/07 07:53:19 paul Exp $";
char options_rcsid[] = "$Id: options.c,v 1.20 2000/12/07 12:46:49 paul Exp $";
#include <stdio.h>
#include <errno.h>
@ -458,6 +458,7 @@ static struct cmd {
#ifdef __linux__
{"hostroute", 0, sethostroute}, /* Add host route (default) */
{"-hostroute", 0, setnohostroute}, /* Don't add host route */
{"nohostroute", 0, setnohostroute}, /* Don't add host route */
#endif
{"+force-driver",0,setforcedriver},