openbsd-ports/sysutils/pftop/patches/patch-engine_c
canacar e70dad7d7a Make pftop build again after the lates pf changes. Filtering against
'gateway' addres/ports does not work (yet) due to the address handling
changes in pf. Other functionality should work. Also fixes two minor
bugs reported by many.  Suggestions and ok naddy@
2008-06-13 00:38:12 +00:00

14 lines
365 B
Plaintext

$OpenBSD: patch-engine_c,v 1.1 2008/06/13 00:38:12 canacar Exp $
--- engine.c.orig Tue Nov 6 23:35:44 2007
+++ engine.c Thu Jun 12 17:49:32 2008
@@ -809,6 +809,9 @@ next_order(void)
{
order_type *o, *oc;
+ if (curr_view->mgr->order_list == NULL)
+ return;
+
oc = curr_view->mgr->order_curr;
for (o = curr_view->mgr->order_list; o->name != NULL; o++) {