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

Submitted by: Martin Blapp <mb@imp.ch>
This commit is contained in:
Alfred Perlstein 2001-03-25 19:59:07 +00:00
parent 95b9973991
commit 7b98a1d680
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);
}