diff --git a/kernel-module/xt_RTPENGINE.c b/kernel-module/xt_RTPENGINE.c index 64323b8c5..bc18a149b 100644 --- a/kernel-module/xt_RTPENGINE.c +++ b/kernel-module/xt_RTPENGINE.c @@ -1446,6 +1446,9 @@ static void *proc_list_next(struct seq_file *f, void *v, loff_t *o) { /* v is in *o = (addr_bucket << 17) | port; table_put(t); + if (!g) // EOF + *o = 256 << 17; + return g; }