route.c (150415) | route.c (150679) |
---|---|
1/* 2 * Copyright (c) 1983, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 24 unchanged lines hidden (view full) --- 33 The Regents of the University of California. All rights reserved.\n"; 34#endif /* not lint */ 35 36#ifndef lint 37#if 0 38static char sccsid[] = "@(#)route.c 8.6 (Berkeley) 4/28/95"; 39#endif 40static const char rcsid[] = | 1/* 2 * Copyright (c) 1983, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 24 unchanged lines hidden (view full) --- 33 The Regents of the University of California. All rights reserved.\n"; 34#endif /* not lint */ 35 36#ifndef lint 37#if 0 38static char sccsid[] = "@(#)route.c 8.6 (Berkeley) 4/28/95"; 39#endif 40static const char rcsid[] = |
41 "$FreeBSD: head/sbin/route/route.c 150415 2005-09-21 12:24:46Z glebius $"; | 41 "$FreeBSD: head/sbin/route/route.c 150679 2005-09-28 12:12:15Z tobez $"; |
42#endif /* not lint */ 43 44#include <sys/param.h> 45#include <sys/file.h> 46#include <sys/socket.h> 47#include <sys/ioctl.h> 48#include <sys/sysctl.h> 49#include <sys/types.h> --- 119 unchanged lines hidden (view full) --- 169 if (*argv) 170 switch (keyword(*argv)) { 171 case K_GET: 172 uid = 0; 173 /* FALLTHROUGH */ 174 175 case K_CHANGE: 176 case K_ADD: | 42#endif /* not lint */ 43 44#include <sys/param.h> 45#include <sys/file.h> 46#include <sys/socket.h> 47#include <sys/ioctl.h> 48#include <sys/sysctl.h> 49#include <sys/types.h> --- 119 unchanged lines hidden (view full) --- 169 if (*argv) 170 switch (keyword(*argv)) { 171 case K_GET: 172 uid = 0; 173 /* FALLTHROUGH */ 174 175 case K_CHANGE: 176 case K_ADD: |
177 case K_DEL: |
|
177 case K_DELETE: 178 newroute(argc, argv); 179 /* NOTREACHED */ 180 181 case K_MONITOR: 182 monitor(); 183 /* NOTREACHED */ 184 --- 1479 unchanged lines hidden --- | 178 case K_DELETE: 179 newroute(argc, argv); 180 /* NOTREACHED */ 181 182 case K_MONITOR: 183 monitor(); 184 /* NOTREACHED */ 185 --- 1479 unchanged lines hidden --- |