Macro call to ng_send_dataq() should have been to ng_send_data() instead.

This commit is contained in:
Archie Cobbs 2000-05-01 23:34:15 +00:00
parent b90c94d658
commit dce9390ed0

View File

@ -199,11 +199,11 @@ struct ng_type {
#define NG_SEND_DATA_RET(error, hook, m, a) \
do { \
struct mbuf *ret_m = NULL; \
meta_p ret_meta = NULL; \
(error) = ng_send_dataq((hook), (m), (a), &ret_m, &ret_meta);\
(m) = ret_m; \
(a) = ret_meta; \
struct mbuf *rm = NULL; \
meta_p ra = NULL; \
(error) = ng_send_data((hook), (m), (a), &rm, &ra); \
(m) = rm; \
(a) = ra; \
} while (0)
/* Free metadata */