summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_nat_dumb.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/ip_nat_dumb.c')
-rw-r--r--net/ipv4/ip_nat_dumb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv4/ip_nat_dumb.c b/net/ipv4/ip_nat_dumb.c
index b45377af4..88e3ff9e2 100644
--- a/net/ipv4/ip_nat_dumb.c
+++ b/net/ipv4/ip_nat_dumb.c
@@ -5,7 +5,7 @@
*
* Dumb Network Address Translation.
*
- * Version: $Id: ip_nat_dumb.c,v 1.9 1999/08/20 11:05:46 davem Exp $
+ * Version: $Id: ip_nat_dumb.c,v 1.10 2000/10/24 22:54:26 davem Exp $
*
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
*
@@ -152,8 +152,9 @@ ip_do_nat(struct sk_buff *skb)
break;
}
}
- return 0;
+ return NET_RX_SUCCESS;
truncated:
+ /* should be return NET_RX_BAD; */
return -EINVAL;
}