fixed a bug that incorrect IPsec request level may be returned for proto AH

Obtained from: KAME
This commit is contained in:
SUZUKI Shinsuke 2004-10-28 09:24:45 +00:00
parent c5995e45eb
commit b3fe9bc483

View File

@ -1691,6 +1691,7 @@ ipsec_get_reqlevel(isr, af)
level = ah_net_deflev;
else
level = ah_trans_deflev;
break;
case IPPROTO_IPCOMP:
/*
* we don't really care, as IPcomp document says that