diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-01-20 22:07:29 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-01-20 22:07:29 +1100 |
commit | 33bc334a8bb6f20ca659f7d4f4669a04d54bd2e8 (patch) | |
tree | d0d8a5ba70293645eda0cd899b84f97045ff97a5 /loginrec.h | |
parent | d5bfa8f9d84b1abada09333994c8c889551a61fb (diff) |
- (dtucker) [loginrec.h] Bug #952: Increase size of username field to 128
bytes to prevent errors from login_init_entry() when the username is
exactly 64 bytes(!) long. From brhamon at cisco.com, ok djm@
Diffstat (limited to 'loginrec.h')
-rw-r--r-- | loginrec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loginrec.h b/loginrec.h index 7f932c296..6b7233256 100644 --- a/loginrec.h +++ b/loginrec.h | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <netinet/in.h> | 35 | #include <netinet/in.h> |
36 | #include <sys/socket.h> | 36 | #include <sys/socket.h> |
37 | 37 | ||
38 | /* RCSID("$Id: loginrec.h,v 1.7 2003/06/03 02:18:50 djm Exp $"); */ | 38 | /* RCSID("$Id: loginrec.h,v 1.8 2005/01/20 11:07:30 dtucker Exp $"); */ |
39 | 39 | ||
40 | /** | 40 | /** |
41 | ** you should use the login_* calls to work around platform dependencies | 41 | ** you should use the login_* calls to work around platform dependencies |
@@ -62,7 +62,7 @@ union login_netinfo { | |||
62 | /* string lengths - set very long */ | 62 | /* string lengths - set very long */ |
63 | #define LINFO_PROGSIZE 64 | 63 | #define LINFO_PROGSIZE 64 |
64 | #define LINFO_LINESIZE 64 | 64 | #define LINFO_LINESIZE 64 |
65 | #define LINFO_NAMESIZE 64 | 65 | #define LINFO_NAMESIZE 128 |
66 | #define LINFO_HOSTSIZE 256 | 66 | #define LINFO_HOSTSIZE 256 |
67 | 67 | ||
68 | struct logininfo { | 68 | struct logininfo { |