Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33964
b: refs/heads/master
c: 3f5af5b
h: refs/heads/master
v: v3
  • Loading branch information
Simon Horman authored and David S. Miller committed Sep 18, 2006
1 parent 4927c40 commit 494dfbd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 70e76b768bac81149c8c189e781c3f130ea2eba5
refs/heads/master: 3f5af5b353ca36aca4f8a46e3da2172f669dbbbc
6 changes: 6 additions & 0 deletions trunk/net/ipv4/ipvs/ip_vs_ftp.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,12 @@ static int __init ip_vs_ftp_init(void)
for (i=0; i<IP_VS_APP_MAX_PORTS; i++) {
if (!ports[i])
continue;
if (ports[i] < 0 || ports[i] > 0xffff) {
IP_VS_WARNING("ip_vs_ftp: Ignoring invalid "
"configuration port[%d] = %d\n",
i, ports[i]);
continue;
}
ret = register_ip_vs_app_inc(app, app->protocol, ports[i]);
if (ret)
break;
Expand Down

0 comments on commit 494dfbd

Please sign in to comment.