Skip to content

Commit

Permalink
Manually revert d83744e, not needed anymore
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
  • Loading branch information
troglobit committed Sep 18, 2018
1 parent b598b0f commit 0123747
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/nemesis-igmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,8 @@ static void igmp_cmdline(int argc, char **argv)

case 'i': /* IGMP group address */
if ((nemesis_name_resolve(optarg, &igmphdr.igmp_group.s_addr)) < 0) {
if (strncmp(optarg, "0.0.0.0", 7)) {
fprintf(stderr, "ERROR: Invalid IGMP group address: \"%s\".\n", optarg);
igmp_exit(1);
}
fprintf(stderr, "ERROR: Invalid IGMP group address: \"%s\".\n", optarg);
igmp_exit(1);
}
got_group = 1;
break;
Expand Down

0 comments on commit 0123747

Please sign in to comment.