- Fix build with clang

Feature safe:	yes
This commit is contained in:
Pietro Cerutti 2012-11-30 14:32:22 +00:00
parent 4416f1cd66
commit 6169f243f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308015

View File

@ -0,0 +1,10 @@
--- cnupm/aggr_port.c.orig 2012-11-30 15:29:58.000000000 +0100
+++ cnupm/aggr_port.c 2012-11-30 15:30:30.000000000 +0100
@@ -120,7 +120,6 @@
{
struct aggr_port_entry *ap;
- port = port;
RB_FOREACH(ap, aggr_port_tree, &aggr_port_tree)
if (port >= ap->ape_first && port <= ap->ape_last)
return (ap->ape_port != 0 ? ap->ape_port : port);