summaryrefslogtreecommitdiffstats
path: root/src/responder/nss
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-05-25 13:52:32 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-05-25 08:51:28 -0400
commit188f9e1e646b0bed530913ca76bbcdf0f342cc66 (patch)
treeab8812ce32a3409bca86e0808b4d96e9264b011e /src/responder/nss
parentde00277c5a865501aa9d835c8dc94c7d22dfd88d (diff)
downloadsssd-188f9e1e646b0bed530913ca76bbcdf0f342cc66.tar.gz
sssd-188f9e1e646b0bed530913ca76bbcdf0f342cc66.tar.xz
sssd-188f9e1e646b0bed530913ca76bbcdf0f342cc66.zip
Send 16bit protocol numbers from the sss_client
https://fedorahosted.org/sssd/ticket/1348
Diffstat (limited to 'src/responder/nss')
-rw-r--r--src/responder/nss/nsssrv_services.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/nss/nsssrv_services.c b/src/responder/nss/nsssrv_services.c
index 2e539f135..db8a2ca13 100644
--- a/src/responder/nss/nsssrv_services.c
+++ b/src/responder/nss/nsssrv_services.c
@@ -1050,7 +1050,7 @@ errno_t parse_getservbyport(TALLOC_CTX *mem_ctx,
SAFEALIGN_COPY_UINT16(&c, body, NULL);
port = ntohs(c);
- port_and_padding_len = 2 * sizeof(uint16_t) + sizeof(uint32_t);
+ port_and_padding_len = 2 * sizeof(uint16_t);
i = port_and_padding_len;
j = 0;