Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
feat: default serviceTag
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Jan 18, 2017
1 parent 5f40c53 commit 850fe39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class MulticastDNS extends EventEmitter {

const broadcast = options.broadcast !== false
const interval = options.interval || (1e3 * 10) // default: 10 seconds
const serviceTag = options.serviceTag || '_ipfs-discovery._udp'
const serviceTag = options.serviceTag || 'libp2p-mdns-default.local'
const port = options.port || 5353
const self = this // for event emitter

Expand Down

0 comments on commit 850fe39

Please sign in to comment.