Skip to content

Commit

Permalink
conf: minor, cleanup superflous code after previous refactor
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
  • Loading branch information
troglobit committed Jul 30, 2021
1 parent d1f13a7 commit 14ed7ad
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ static int join_mgroup(int lineno, char *ifname, char *source, char *group)
memset(&src, 0, sizeof(src));
memset(&grp, 0, sizeof(grp));

src.ss_family = AF_INET6;
grp.ss_family = AF_INET6;

if (source) {
len = is_range(source);
if (len != 0)
Expand Down Expand Up @@ -151,9 +148,6 @@ static int join_mgroup(int lineno, char *ifname, char *source, char *group)
memset(&src, 0, sizeof(src));
memset(&grp, 0, sizeof(grp));

src.ss_family = AF_INET;
grp.ss_family = AF_INET;

if (source) {
if ((len = is_range(source)) > 0)
WARN("join: ignoring source perfix len: %d", len);
Expand Down

0 comments on commit 14ed7ad

Please sign in to comment.