From 35558092cb624b08039eb9992f6a6e9bfff94328 Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Mon, 31 Jul 2017 10:42:45 +0200 Subject: [PATCH] Rename to cases of IGMP_PROXY to MCAST_PROXY --- usr.sbin/mcast-proxy/mcast-proxy.c | 2 +- usr.sbin/mcast-proxy/mcast-proxy.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.sbin/mcast-proxy/mcast-proxy.c b/usr.sbin/mcast-proxy/mcast-proxy.c index 86abef3..4f64830 100644 --- a/usr.sbin/mcast-proxy/mcast-proxy.c +++ b/usr.sbin/mcast-proxy/mcast-proxy.c @@ -126,7 +126,7 @@ main(int argc, char *argv[]) mldsd = open_mld_socket(); /* Drop privileges. */ - pw = getpwnam(IGMP_PROXY_USER); + pw = getpwnam(MCAST_PROXY_USER); if (pw == NULL) fatal("getpwnam"); diff --git a/usr.sbin/mcast-proxy/mcast-proxy.h b/usr.sbin/mcast-proxy/mcast-proxy.h index f07a61c..a0cec24 100644 --- a/usr.sbin/mcast-proxy/mcast-proxy.h +++ b/usr.sbin/mcast-proxy/mcast-proxy.h @@ -16,8 +16,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifndef IGMP_PROXY_H -#define IGMP_PROXY_H +#ifndef MCAST_PROXY_H +#define MCAST_PROXY_H #include #include @@ -31,7 +31,7 @@ #include "log.h" -#define IGMP_PROXY_USER "_mcastproxy" +#define MCAST_PROXY_USER "_mcastproxy" /* RFC 2236 section 8: value definitions. */ #define IGMP_QUERY_INTERVAL 125 /* 125 seconds. */ @@ -211,4 +211,4 @@ sstosin6(struct sockaddr_storage *ss) return (struct sockaddr_in6 *)ss; } -#endif /* IGMP_PROXY_H */ +#endif /* MCAST_PROXY_H */