diff --git a/kernel-module/xt_RTPENGINE.c b/kernel-module/xt_RTPENGINE.c index c18f639f7..3f027622f 100644 --- a/kernel-module/xt_RTPENGINE.c +++ b/kernel-module/xt_RTPENGINE.c @@ -1425,6 +1425,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; }