summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/nfs/server/src/nfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c
index 1ac5a9213ac..bf8132f56a5 100644
--- a/xlators/nfs/server/src/nfs.c
+++ b/xlators/nfs/server/src/nfs.c
@@ -229,6 +229,9 @@ nfs_program_unregister_portmap_all (struct nfs_state *nfs)
if (prog == NULL)
continue;
(void) rpcsvc_program_unregister_portmap (prog);
+#ifdef IPV6_DEFAULT
+ (void) rpcsvc_program_unregister_rpcbind6 (prog);
+#endif
}
return (0);