Commit d61eb6e
committed
network: read the documented
mdns_config() documents {host, ...} but maybe_start_mdns read the
`hostname` key, so a spec-conforming config handed mdns:init an
undefined hostname and it crashed on iolist_to_binary/1. Accept both,
preferring the documented key.
Signed-off-by: Paul Guyot <pguyot@kallisys.net>host key for the mdns config1 parent f7594af commit d61eb6e
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
988 | 988 | | |
989 | 989 | | |
990 | 990 | | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
991 | 998 | | |
992 | | - | |
| 999 | + | |
993 | 1000 | | |
994 | 1001 | | |
995 | 1002 | | |
| |||
0 commit comments