this->recv = dual_tls_recv;
this->send = dual_tls_send;
+
+#ifdef WITH_RADIUSV11
+ /*
+ * We've checked above for conflicts between require/forbid and forbid/require.
+ * So either the settings agree (forbid/forbid, require/require), OR this listener
+ * is marker "allow". In which case we just use whatever the client has set.
+ */
+ this->radiusv11 = client->radiusv11;
+#endif
}
#endif
}
sock->packet->dst_port = sock->my_port;
if (sock->request) sock->request->packet = talloc_steal(sock->request, sock->packet);
+
+#ifdef WITH_RADIUSV11
+ /*
+ * If the flag is "allow", then the ALPN negotiation updates it to "require" if RADIUSv11
+ * is negotiated.
+ */
+ sock->packet->radiusv11 = (listener->radiusv11 == FR_RADIUSV11_REQUIRE);
+#endif
+
}
/*