[go: up one dir, main page]

Skip to content

Commit

Permalink
Rename to cases of IGMP_PROXY to MCAST_PROXY
Browse files Browse the repository at this point in the history
  • Loading branch information
reyk committed Jul 31, 2017
1 parent e486374 commit 3555809
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion usr.sbin/mcast-proxy/mcast-proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
8 changes: 4 additions & 4 deletions usr.sbin/mcast-proxy/mcast-proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <arpa/inet.h>
#include <sys/queue.h>
Expand All @@ -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. */
Expand Down Expand Up @@ -211,4 +211,4 @@ sstosin6(struct sockaddr_storage *ss)
return (struct sockaddr_in6 *)ss;
}

#endif /* IGMP_PROXY_H */
#endif /* MCAST_PROXY_H */

0 comments on commit 3555809

Please sign in to comment.