Skip to content

Commit

Permalink
Merge pull request #33 from nbriggs/master
Browse files Browse the repository at this point in the history
Silence complaints generated by mdnsd when legacy AirDrop is used on macOS
  • Loading branch information
haesbaert authored Oct 3, 2020
2 parents b1c3540 + a1a4e62 commit addfb9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mdnsd/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ rr_type_name(uint16_t type)
case T_OPT:
return "OPT";
break; /* NOTREACHED */
case T_NULL:
return "NULL";
break; /* NOTREACHED */
default:
log_debug("Unknown %d", type);
break; /* NOTREACHED */
Expand Down
1 change: 1 addition & 0 deletions mdnsd/packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,7 @@ pkt_parse_rr(u_int8_t **pbuf, u_int16_t *len, struct rr *rr)
break;
case T_AAAA:
case T_NSEC:
case T_NULL:
break;
case T_OPT:
/*
Expand Down

0 comments on commit addfb9f

Please sign in to comment.