"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/realms.c" between
freeradius-server-3.0.22.tar.bz2 and freeradius-server-3.0.23.tar.bz2

About: FreeRADIUS Server Project - a high performance and highly configurable RADIUS server.

realms.c  (freeradius-server-3.0.22.tar.bz2):realms.c  (freeradius-server-3.0.23.tar.bz2)
/* /*
* realms.c Realm handling code * realms.c Realm handling code
* *
* Version: $Id: 682c58f35114d73588f9eeb06533eb2ecc83ecf4 $ * Version: $Id: 4a6dafb7419a230e4410ed621bfb2116c63f5279 $
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* *
* Copyright 2007 The FreeRADIUS server project * Copyright 2007 The FreeRADIUS server project
* Copyright 2007 Alan DeKok <aland@deployingradius.com> * Copyright 2007 Alan DeKok <aland@deployingradius.com>
*/ */
RCSID("$Id: 682c58f35114d73588f9eeb06533eb2ecc83ecf4 $") RCSID("$Id: 4a6dafb7419a230e4410ed621bfb2116c63f5279 $")
#include <freeradius-devel/radiusd.h> #include <freeradius-devel/radiusd.h>
#include <freeradius-devel/realms.h> #include <freeradius-devel/realms.h>
#include <freeradius-devel/rad_assert.h> #include <freeradius-devel/rad_assert.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <ctype.h> #include <ctype.h>
#include <fcntl.h> #include <fcntl.h>
skipping to change at line 278 skipping to change at line 278
break; break;
case HOME_STATE_IS_DEAD: case HOME_STATE_IS_DEAD:
state = "dead"; state = "dead";
break; break;
case HOME_STATE_CONNECTION_FAIL: case HOME_STATE_CONNECTION_FAIL:
state = "fail"; state = "fail";
break; break;
case HOME_STATE_ADMIN_DOWN:
state = "down";
break;
default: default:
state = "unknown"; state = "unknown";
break; break;
} }
strlcpy(out, state, outlen); strlcpy(out, state, outlen);
return strlen(out); return strlen(out);
} }
return xlat_cs(request->home_server->cs, fmt, out, outlen); return xlat_cs(request->home_server->cs, fmt, out, outlen);
 End of changes. 3 change blocks. 
2 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)