ndp.c (265778) | ndp.c (268827) |
---|---|
1/* $FreeBSD: head/usr.sbin/ndp/ndp.c 265778 2014-05-09 14:24:02Z melifaro $ */ | 1/* $FreeBSD: head/usr.sbin/ndp/ndp.c 268827 2014-07-18 06:48:02Z peter $ */ |
2/* $KAME: ndp.c,v 1.104 2003/06/27 07:48:39 itojun Exp $ */ 3 4/* 5 * Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 173 unchanged lines hidden (view full) --- 183 case 'I': 184 if (mode) { 185 usage(); 186 /*NOTREACHED*/ 187 } 188 mode = ch; 189 arg = NULL; 190 break; | 2/* $KAME: ndp.c,v 1.104 2003/06/27 07:48:39 itojun Exp $ */ 3 4/* 5 * Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 173 unchanged lines hidden (view full) --- 183 case 'I': 184 if (mode) { 185 usage(); 186 /*NOTREACHED*/ 187 } 188 mode = ch; 189 arg = NULL; 190 break; |
191 case 'd': | |
192 case 'f': 193 exit(file(optarg) ? 1 : 0); | 191 case 'f': 192 exit(file(optarg) ? 1 : 0); |
193 case 'd': |
|
194 case 'i': 195 if (mode) { 196 usage(); 197 /*NOTREACHED*/ 198 } 199 mode = ch; 200 arg = optarg; 201 break; --- 1374 unchanged lines hidden --- | 194 case 'i': 195 if (mode) { 196 usage(); 197 /*NOTREACHED*/ 198 } 199 mode = ch; 200 arg = optarg; 201 break; --- 1374 unchanged lines hidden --- |