identd: also zero se_rpc_highvers

Reported by:	pluknet
This commit is contained in:
Eitan Adler 2015-04-19 09:27:47 +00:00
parent af5f5a398f
commit 7ebd5ed4d4

View File

@ -1752,9 +1752,8 @@ getconfigent(void)
memmove(sep->se_proto, sep->se_proto + 4,
strlen(sep->se_proto) + 1 - 4);
sep->se_rpc = 1;
sep->se_rpc_prog = sep->se_rpc_lowvers = 0;
memcpy(&sep->se_ctrladdr4, bind_sa4,
sizeof(sep->se_ctrladdr4));
sep->se_rpc_prog = sep->se_rpc_lowvers =
sep->se_rpc_highvers = 0;
if ((versp = strrchr(sep->se_service, '/'))) {
*versp++ = '\0';
switch (sscanf(versp, "%u-%u",