From 0d2bcc7675af4392551dbeeebd674f648c23f882 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 7 Nov 2005 12:53:47 +0000 Subject: [PATCH] For auth failure, use diagnostic 1011: Init/AC: Bad User/password --- index/zserver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index/zserver.c b/index/zserver.c index 5a6f129..c07f344 100644 --- a/index/zserver.c +++ b/index/zserver.c @@ -1,4 +1,4 @@ -/* $Id: zserver.c,v 1.117.2.4 2005-05-12 10:03:24 adam Exp $ +/* $Id: zserver.c,v 1.117.2.5 2005-11-07 12:53:47 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -105,7 +105,7 @@ bend_initresult *bend_init (bend_initrequest *q) } if (zebra_auth (zh, user, passwd)) { - r->errcode = 222; + r->errcode = 1011; /* Init/AC: Bad user ID or password */ r->errstring = user; return r; } -- 1.7.10.4