diff options
author | Shreyas Siravara <sshreyas@fb.com> | 2015-03-18 11:02:18 -0700 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-03-28 07:38:59 +0000 |
commit | 20fb08d5258f2324433dd465257bcd65e8fe12c2 (patch) | |
tree | c961c5b5d67e4bbc5cc7cc319f4dafb6e2f134f2 /rpc/rpc-lib/src/rpcsvc.h | |
parent | 3b578daaec3937f6ea0ae8173ed92437fa53c732 (diff) |
rpc: update tirpc registration to "force" unregister old mapping before re-registering
> Reviewed-on: https://review.gluster.org/16849
> Reviewed-by: Shreyas Siravara <sshreyas@fb.com>
Change-Id: I05ed6b7c715a71e5819fbe8116e7c3146010f836
BUG: 1521030
Signed-off-by: Kevin Vigor <kvigor@fb.com>
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'rpc/rpc-lib/src/rpcsvc.h')
-rw-r--r-- | rpc/rpc-lib/src/rpcsvc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/rpcsvc.h b/rpc/rpc-lib/src/rpcsvc.h index dfd19845f5e..7ed0dca2ad0 100644 --- a/rpc/rpc-lib/src/rpcsvc.h +++ b/rpc/rpc-lib/src/rpcsvc.h @@ -465,6 +465,8 @@ rpcsvc_program_register_portmap (rpcsvc_program_t *newprog, uint32_t port); #ifdef IPV6_DEFAULT extern int rpcsvc_program_register_rpcbind6 (rpcsvc_program_t *newprog, uint32_t port); +extern int +rpcsvc_program_unregister_rpcbind6 (rpcsvc_program_t *newprog); #endif extern int |