# HG changeset patch # User Roy Marples # Date 1609120797 0 # Node ID 465cc5abc6d6e1d8bbdee5ec43f8fa90f787bc68 # Parent 2a519da0f1a246e715e7bd769a750617377c418d script: ignore inactive interfaces for ordering diff -r 2a519da0f1a2 -r 465cc5abc6d6 src/script.c --- a/src/script.c Mon Dec 28 00:02:26 2020 +0000 +++ b/src/script.c Mon Dec 28 01:59:57 2020 +0000 @@ -392,6 +392,8 @@ rb_tree_init(&ifaces, &rt_compare_proto_ops); TAILQ_FOREACH(ifp2, ifp->ctx->ifaces, next) { + if (!ifp2->active) + continue; rt = rt_new(UNCONST(ifp2)); if (rt == NULL) goto eexit;