diff options
author | Tom Yu <tlyu@mit.edu> | 1999-06-29 02:03:02 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1999-06-29 02:03:02 +0000 |
commit | 60ab5b84ffe834ecc99de83da07a270719e62f8a (patch) | |
tree | b24859a82df6c0049897c7b0b1a9728bb6160f2c /src/kdc/replay.c | |
parent | 6b73c0e50f1747ab3deb6cd6d8c5a4c6d39a98a8 (diff) | |
download | krb5-60ab5b84ffe834ecc99de83da07a270719e62f8a.tar.gz krb5-60ab5b84ffe834ecc99de83da07a270719e62f8a.tar.xz krb5-60ab5b84ffe834ecc99de83da07a270719e62f8a.zip |
* replay.c (MATCH): Fix up to compare the correct components of
the input address.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11533 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc/replay.c')
-rw-r--r-- | src/kdc/replay.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kdc/replay.c b/src/kdc/replay.c index a65ffb3eb..e0f3c8fd1 100644 --- a/src/kdc/replay.c +++ b/src/kdc/replay.c @@ -54,7 +54,8 @@ static int num_entries = 0; !memcmp((ptr)->req_packet->data, inpkt->data, \ inpkt->length) && \ ((ptr)->addr->length == from->address->length) && \ - !memcmp((ptr)->addr->contents, from->address, \ + !memcmp((ptr)->addr->contents, \ + from->address->contents, \ from->address->length)&& \ ((ptr)->db_age == db_age)) /* XXX |