Skip to content

Commit efc1327

Browse files
committed
to be removed II
1 parent 9605d4c commit efc1327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ip4.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ int proc_ip4(struct __sk_buff* skb, bool ingress, __u8* eth, struct iphdr* ip){
380380
PRINTK("[%d:0x%p] Matched rule#%u", skb->ifindex, skb, rule->id);
381381

382382
//Unsegment skb
383-
if(SEG_DEV_IFINDEX > 0)
383+
if(!ingress && SEG_DEV_IFINDEX > 0)
384384
return gso_redirect_seg_pkt(skb, ingress, rule);
385385
}
386386

0 commit comments

Comments
 (0)