Skip to content

Commit

Permalink
Add "__unknown" excluded interface
Browse files Browse the repository at this point in the history
VintageNet assigns this name when it cannot
get link info about an interface.

Signed-off-by: Connor Rigby <[email protected]>
  • Loading branch information
ConnorRigby authored and fhunleth committed Aug 29, 2024
1 parent 5f5bdb5 commit 5349b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mdns_lite/options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ defmodule MdnsLite.Options do
@default_ttl 120
@default_dns_ip {127, 0, 0, 53}
@default_dns_port 53
@default_excluded_ifnames ["lo0", "lo", "ppp0", "wwan0"]
@default_excluded_ifnames ["lo0", "lo", "ppp0", "wwan0", "__unknown"]
@default_ipv4_only true

defstruct services: MapSet.new(),
Expand Down

0 comments on commit 5349b4b

Please sign in to comment.