mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-20 09:56:09 -05:00
Change mDNS default to 1
This commit is contained in:
@@ -366,7 +366,7 @@ void usage(char *program) {
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf(" -d <number> Debuglevel (0-9)\n");
|
printf(" -d <number> Debuglevel (0-9)\n");
|
||||||
#endif
|
#endif
|
||||||
printf(" -m Use mDNS\n");
|
printf(" -m Disable mDNS\n");
|
||||||
printf(" -c <file> Use configfile specified");
|
printf(" -c <file> Use configfile specified");
|
||||||
printf(" -p Parse playlist file\n");
|
printf(" -p Parse playlist file\n");
|
||||||
printf(" -f Run in foreground\n");
|
printf(" -f Run in foreground\n");
|
||||||
@@ -383,7 +383,7 @@ int main(int argc, char *argv[]) {
|
|||||||
int status;
|
int status;
|
||||||
int parseonly=0;
|
int parseonly=0;
|
||||||
int foreground=0;
|
int foreground=0;
|
||||||
config.use_mdns=0;
|
config.use_mdns=1;
|
||||||
struct passwd *pw=NULL;
|
struct passwd *pw=NULL;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
@@ -412,7 +412,7 @@ int main(int argc, char *argv[]) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'm':
|
case 'm':
|
||||||
config.use_mdns=1;
|
config.use_mdns=0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'p':
|
case 'p':
|
||||||
|
|||||||
Reference in New Issue
Block a user