diff options
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
-rw-r--r-- | net/sunrpc/rpcb_clnt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index a70cc1e11792..625ba72e624a 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c | |||
@@ -587,6 +587,7 @@ static struct rpc_procinfo rpcb_procedures3[] = { | |||
587 | static struct rpc_procinfo rpcb_procedures4[] = { | 587 | static struct rpc_procinfo rpcb_procedures4[] = { |
588 | PROC(SET, mapping, set), | 588 | PROC(SET, mapping, set), |
589 | PROC(UNSET, mapping, set), | 589 | PROC(UNSET, mapping, set), |
590 | PROC(GETADDR, getaddr, getaddr), | ||
590 | PROC(GETVERSADDR, getaddr, getaddr), | 591 | PROC(GETVERSADDR, getaddr, getaddr), |
591 | }; | 592 | }; |
592 | 593 | ||
@@ -594,7 +595,7 @@ static struct rpcb_info rpcb_next_version[] = { | |||
594 | #ifdef CONFIG_SUNRPC_BIND34 | 595 | #ifdef CONFIG_SUNRPC_BIND34 |
595 | { | 596 | { |
596 | .rpc_vers = RPCBVERS_4, | 597 | .rpc_vers = RPCBVERS_4, |
597 | .rpc_proc = &rpcb_procedures4[RPCBPROC_GETVERSADDR], | 598 | .rpc_proc = &rpcb_procedures4[RPCBPROC_GETADDR], |
598 | }, | 599 | }, |
599 | { | 600 | { |
600 | .rpc_vers = RPCBVERS_3, | 601 | .rpc_vers = RPCBVERS_3, |
@@ -614,7 +615,7 @@ static struct rpcb_info rpcb_next_version6[] = { | |||
614 | #ifdef CONFIG_SUNRPC_BIND34 | 615 | #ifdef CONFIG_SUNRPC_BIND34 |
615 | { | 616 | { |
616 | .rpc_vers = RPCBVERS_4, | 617 | .rpc_vers = RPCBVERS_4, |
617 | .rpc_proc = &rpcb_procedures4[RPCBPROC_GETVERSADDR], | 618 | .rpc_proc = &rpcb_procedures4[RPCBPROC_GETADDR], |
618 | }, | 619 | }, |
619 | { | 620 | { |
620 | .rpc_vers = RPCBVERS_3, | 621 | .rpc_vers = RPCBVERS_3, |