Use enum pbuf_flag as pbuf_type.

Renumber PBUF_FLAG_*.
This commit is contained in:
marcbou
2007-08-17 02:09:43 +00:00
parent 18636a4df5
commit 0471aaec52
3 changed files with 37 additions and 44 deletions

View File

@@ -936,7 +936,7 @@ etharp_query(struct netif *netif, struct ip_addr *ipaddr, struct pbuf *q)
p = q;
while (p) {
LWIP_ASSERT("no packet queues allowed!", (p->len != p->tot_len) || (p->next == 0));
if(p->type != PBUF_TYPE_ROM) {
if(p->type != PBUF_ROM) {
copy_needed = 1;
break;
}