Partially accepted patch #5449 for ANSI C compatibility / build fixes. Fixed bug #17574 corrected UDP-Lite protocol identifier.

This commit is contained in:
christiaans
2006-10-11 12:04:04 +00:00
parent 729da3c873
commit b5f4672155
11 changed files with 31 additions and 24 deletions

View File

@@ -304,7 +304,7 @@ ip_input(struct pbuf *p, struct netif *inp) {
IP_STATS_INC(ip.opterr);
IP_STATS_INC(ip.drop);
/* unsupported protocol feature */
snmp_inc_ipunknownprotos();
snmp_inc_ipinunknownprotos();
return ERR_OK;
#endif /* IP_REASSEMBLY */
}
@@ -316,7 +316,7 @@ ip_input(struct pbuf *p, struct netif *inp) {
IP_STATS_INC(ip.opterr);
IP_STATS_INC(ip.drop);
/* unsupported protocol feature */
snmp_inc_ipunknownprotos();
snmp_inc_ipinunknownprotos();
return ERR_OK;
}
#endif /* IP_OPTIONS == 0 */