Skip to content

Commit

Permalink
Don't exit on record conflict, just drop the record and log the issue
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
  • Loading branch information
troglobit committed Aug 7, 2018
1 parent 25485ab commit cb586c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mdnsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ int background = 1;

void mdnsd_conflict(char *name, int type, void *arg)
{
ERR("conflicting name detected %s for type %d", name, type);
exit(1);
ERR("conflicting name detected %s for type %d, dropping record ...", name, type);
}

static void record_received(const struct resource *r, void *data)
Expand Down

0 comments on commit cb586c5

Please sign in to comment.