From 0901f62e11467633ff509724f78a8eb38696fce8 Mon Sep 17 00:00:00 2001 From: Bill Fumerola Date: Fri, 6 Apr 2001 06:52:25 +0000 Subject: [PATCH] pipe/queue are the only consumers of flow_id, so only set it in those cases --- sys/netinet/ip_fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c index e0f4378c6ac..78c79cfcf89 100644 --- a/sys/netinet/ip_fw.c +++ b/sys/netinet/ip_fw.c @@ -1342,7 +1342,6 @@ got_match: */ if (q == NULL && f->fw_flg & IP_FW_F_KEEP_S) install_state(chain); - *flow_id = chain ; /* XXX set flow id */ /* Update statistics */ f->fw_pcnt += 1; f->fw_bcnt += ip_len; @@ -1376,6 +1375,7 @@ got_match: #ifdef DUMMYNET case IP_FW_F_PIPE: case IP_FW_F_QUEUE: + *flow_id = chain; return(f->fw_pipe_nr | IP_FW_PORT_DYNT_FLAG); #endif #ifdef IPFIREWALL_FORWARD