diff options
Diffstat (limited to 'src/pmap_svc.c')
-rw-r--r-- | src/pmap_svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pmap_svc.c b/src/pmap_svc.c index 5b43dd0..99ce508 100644 --- a/src/pmap_svc.c +++ b/src/pmap_svc.c @@ -314,7 +314,7 @@ pmapproc_getport(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt) if ((pt2 = strrchr(ua, '.')) != NULL) { *pt2 = 0; snprintf(serveuaddr, sizeof serveuaddr, - "%s.%d.%d", ua, + "%s.%ld.%ld", ua, (fnd->pml_map.pm_port >> 8) & 0xff, (fnd->pml_map.pm_port) & 0xff); *pt2 = '.'; |