Otherwise, the code thinks that there is a proxy reply WITHOUT
an original reply..
There's still likely a bug, as the CoA request->reply is built BEFORE
the original->reply. The post-proxy CoA work should very likely have
complete access to the original reply packet type
request->parent->coa = NULL;
request->parent = NULL;
+ /*
+ * The proxied packet was different from the
+ * original packet, AND the proxied packet was
+ * a CoA: allow it.
+ */
+ } else if ((request->packet->code != request->proxy->code) &&
+ ((request->proxy->code == PW_COA_REQUEST) ||
+ (request->proxy->code == PW_DISCONNECT_REQUEST))) {
+ /*
+ * It's already divorced: do nothing.
+ */
+
} else
/*
* Skip the next set of checks, as the original