summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-17 19:48:29 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-17 19:48:29 +0000
commit7f913623be602be833eb8668e60734e2758cb9a1 (patch)
treeb689aa3fb7b85131a41c2fe3f18b39d7b8094793 /source3
parent517aade8bd6759124ef7c2d9bc0f7059327de36c (diff)
downloadsamba-7f913623be602be833eb8668e60734e2758cb9a1.tar.gz
samba-7f913623be602be833eb8668e60734e2758cb9a1.tar.bz2
samba-7f913623be602be833eb8668e60734e2758cb9a1.zip
alignment issue for UDP SAMLOGON response.
(This used to be commit 9d01e9d86a8d22a283a8377a12bb175398547d78)
Diffstat (limited to 'source3')
-rw-r--r--source3/nmbd/nmbd_processlogon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c
index 710bbe0de7..fb5dec29f9 100644
--- a/source3/nmbd/nmbd_processlogon.c
+++ b/source3/nmbd/nmbd_processlogon.c
@@ -179,8 +179,8 @@ reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n",
q += 4;
domainsidsize = IVAL(q, 0);
q += 4;
- q += domainsidsize + 2;
- q = align2(q, buf);
+ q += domainsidsize;
+ q = align4(q, buf);
ntversion = IVAL(q, 0);
q += 4;