- Use the correct constant define.

- Add a missing break.
This commit is contained in:
Matthew N. Dodd 2003-04-02 18:02:58 +00:00
parent b2badf0214
commit 4f6425f7ae

View File

@ -1581,7 +1581,7 @@ ip_ctloutput(so, sopt)
case IP_RECVIF:
case IP_PORTRANGE:
case IP_FAITH:
case IP_EF:
case IP_EVIL_INTENT:
switch (sopt->sopt_name) {
case IP_TOS:
@ -1622,8 +1622,9 @@ ip_ctloutput(so, sopt)
case IP_FAITH:
optval = OPTBIT(INP_FAITH);
break;
case IP_EF:
case IP_EVIL_INTENT:
optval = OPTBIT(INP_EVIL);
break;
}
error = sooptcopyout(sopt, &optval, sizeof optval);
break;