On 12/12/2017 06:36 AM, Marc Hartmayer wrote:
Additionally, use a whitelist model to decide whether authentication
is needed or not.
Signed-off-by: Marc Hartmayer <mhartmay(a)linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy(a)linux.vnet.ibm.com>
Reviewed-by: Bjoern Walk <bwalk(a)linux.vnet.ibm.com>
Reviewed-by: Stefan Zimmermann <stzi(a)linux.vnet.ibm.com>
---
src/rpc/virnetserverclient.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
or in one ugly C line ;-)
need = !(client->auth == VIR_NET_SERVER_SERVICE_AUTH_NONE);
or
need = client->auth != VIR_NET_SERVER_SERVICE_AUTH_NONE;
Reviewed-by: John Ferlan <jferlan(a)redhat.com>
John