From 7f913623be602be833eb8668e60734e2758cb9a1 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Wed, 17 Mar 1999 19:48:29 +0000 Subject: alignment issue for UDP SAMLOGON response. (This used to be commit 9d01e9d86a8d22a283a8377a12bb175398547d78) --- source3/nmbd/nmbd_processlogon.c | 4 ++-- 1 file 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; -- cgit