mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 03:32:24 +00:00
tt: ensure all versions of mapping can be deleted from portmap.
This commit is contained in:
parent
2e69f83d33
commit
0797e9ca72
1 changed files with 4 additions and 4 deletions
|
@ -86,13 +86,13 @@ _Tt_rpc_server(int program, int version, int Rsocket, _Tt_auth &auth)
|
|||
_Tt_rpc_server::
|
||||
~_Tt_rpc_server()
|
||||
{
|
||||
#ifndef OPT_TLI
|
||||
pmap_unset(_program, _version);
|
||||
#else
|
||||
for (int version = _version; version >= 1; version--) {
|
||||
#ifndef OPT_TLI
|
||||
pmap_unset(_program, version);
|
||||
#else
|
||||
rpcb_unset(_program, version, (netconfig *)0);
|
||||
}
|
||||
#endif // OPT_TLI
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue