mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Fix build with clang
Feature safe: yes
This commit is contained in:
parent
4416f1cd66
commit
6169f243f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308015
10
net/cnupm/files/patch-cnupm_aggr_port.c
Normal file
10
net/cnupm/files/patch-cnupm_aggr_port.c
Normal 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);
|
Loading…
Reference in New Issue
Block a user