aboutsummaryrefslogtreecommitdiff
path: root/xt_FULLCONENAT.c
diff options
context:
space:
mode:
Diffstat (limited to 'xt_FULLCONENAT.c')
-rw-r--r--xt_FULLCONENAT.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xt_FULLCONENAT.c b/xt_FULLCONENAT.c
index f209336..8555b54 100644
--- a/xt_FULLCONENAT.c
+++ b/xt_FULLCONENAT.c
@@ -593,8 +593,7 @@ static unsigned int fullconenat_tg(struct sk_buff *skb, const struct xt_action_p
if(mr->range[0].flags & NF_NAT_RANGE_MAP_IPS) {
newrange.min_addr.ip = mr->range[0].min_ip;
newrange.max_addr.ip = mr->range[0].max_ip;
- }
- else {
+ } else {
new_ip = get_device_ip(skb->dev);
newrange.min_addr.ip = new_ip;
newrange.max_addr.ip = new_ip;