Fix an embarresing error on my part that made the IP_PORTRANGE options

return a failure code (even though it worked).
This commit brought to you by the 'C' keyword "break".. :-)
This commit is contained in:
Peter Wemm 1996-05-21 20:47:31 +00:00
parent 1608c58429
commit ce8c72b147
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15850

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ip_output.c 8.3 (Berkeley) 1/21/94
* $Id: ip_output.c,v 1.36 1996/04/21 13:47:43 bde Exp $
* $Id: ip_output.c,v 1.37 1996/05/06 17:42:13 wollman Exp $
*/
#define _IP_VHL
@ -657,6 +657,7 @@ ip_ctloutput(op, so, level, optname, mp)
break;
}
}
break;
default:
error = ENOPROTOOPT;