From 4118a0c053531ed45299318a5fcececcab94a314 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Wed, 11 Feb 2009 18:20:18 -0500 Subject: - use our own bind-reserve-port helper, which should work with either ipv4 or ipv6 sockets - make portmap_register()/portmap_unregister() require the address family --- src/portmap.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/portmap.h') diff --git a/src/portmap.h b/src/portmap.h index 0312188..ed59b67 100644 --- a/src/portmap.h +++ b/src/portmap.h @@ -23,8 +23,9 @@ #define portmap_h bool_t portmap_register(const char *log_id, int resv_sock, - int program, int version, int protocol, int port); -bool_t portmap_unregister(const char *log_id, - int resv_sock, int program, int version); + int program, int version, + int family, int protocol, int port); +bool_t portmap_unregister(const char *log_id, int resv_sock, + int program, int version, int family); #endif -- cgit