Replace pmap_unset() with rpcb_unset() which fixes the unregistering.

Submitted by: Martin Blapp <mb@imp.ch>
This commit is contained in:
alfred 2001-03-25 19:59:07 +00:00
parent 57d69411fc
commit 2009fd4382
2 changed files with 4 additions and 4 deletions

View File

@ -2506,7 +2506,7 @@ int sig;
{
close(mountdlockfd);
unlink(MOUNTDLOCK);
pmap_unset(RPCPROG_MNT, 1);
pmap_unset(RPCPROG_MNT, 3);
rpcb_unset(RPCPROG_MNT, RPCMNT_VER1, NULL);
rpcb_unset(RPCPROG_MNT, RPCMNT_VER3, NULL);
exit (0);
}

View File

@ -2506,7 +2506,7 @@ int sig;
{
close(mountdlockfd);
unlink(MOUNTDLOCK);
pmap_unset(RPCPROG_MNT, 1);
pmap_unset(RPCPROG_MNT, 3);
rpcb_unset(RPCPROG_MNT, RPCMNT_VER1, NULL);
rpcb_unset(RPCPROG_MNT, RPCMNT_VER3, NULL);
exit (0);
}