Skip to content

Commit

Permalink
Fix typos in README.md (#73)
Browse files Browse the repository at this point in the history
Minor typo correction:  The property `weight` was misspelled `weigth`.  Added a missing space in code formatting in a few places e.g.: `port:9999` -> `port: 9999`.
  • Loading branch information
wyckster committed May 15, 2021
1 parent 52bf467 commit 7f7c010
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ A packet has the following format
``` js
{
questions: [{
name:'brunhilde.local',
type:'A'
name: 'brunhilde.local',
type: 'A'
}],
answers: [{
name:'brunhilde.local',
type:'A',
ttl:seconds,
data:(record type specific data)
name: 'brunhilde.local',
type: 'A',
ttl: seconds,
data: (record type specific data)
}],
additionals: [
(same format as answers)
Expand Down Expand Up @@ -167,8 +167,8 @@ mdns.respond({
name: 'my-service',
type: 'SRV',
data: {
port:9999,
weigth: 0,
port: 9999,
weight: 0,
priority: 10,
target: 'my-service.example.com'
}
Expand Down

0 comments on commit 7f7c010

Please sign in to comment.