bindport6 defaults to bindport, rather than 64738
authorSebastian Blunt <sebastian@c4k3.net>
Mon, 26 Dec 2016 18:20:56 +0000 (19:20 +0100)
committerSebastian Blunt <sebastian@c4k3.net>
Mon, 26 Dec 2016 18:20:56 +0000 (19:20 +0100)
commit7e3ae3251443f7093b63b25f3bdfb02aa2133bc9
treefd4ad34ce72d92fa52f3cbb26a29c26dc973e0ed
parentfac630135664fda26338d403041b6b6e558a2d6b
bindport6 defaults to bindport, rather than 64738

Previously if bindport6 was unspecified it would always default to
64738, this changes it so that it instead defaults to whatever bindport
is, i.e. as long as bindport6 is unspecified, then umurmur will bind to
the same ports on v4 and v6. If bindport6 is specified it will of course
take precedence.

Suggested in #97.
src/conf.c