change default ifname for easyier use on gluon
This commit is contained in:
parent
64c6479201
commit
68e2041548
|
@ -8,7 +8,7 @@
|
||||||
#include "socket.h"
|
#include "socket.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char *ifname = "br-lan";
|
char *ifname = "br-wan";
|
||||||
char *addr = "::";
|
char *addr = "::";
|
||||||
char *maddr = "ff02::31f1";
|
char *maddr = "ff02::31f1";
|
||||||
char *port = "1000";
|
char *port = "1000";
|
||||||
|
@ -65,7 +65,7 @@ void usage(int c) {
|
||||||
printf(" --addr listen on ip address (current: %s)\n", addr);
|
printf(" --addr listen on ip address (current: %s)\n", addr);
|
||||||
printf(" --maddr listen and request on multcast address (current: %s)\n", maddr);
|
printf(" --maddr listen and request on multcast address (current: %s)\n", maddr);
|
||||||
printf(" --port listen on port (current: %s)\n", port);
|
printf(" --port listen on port (current: %s)\n", port);
|
||||||
printf(" --if listen on interface (current: %s)\n", ifname);
|
printf(" --if listen on interface (current: %s)\n", ifname);
|
||||||
printf(" --mif listen on interface for multicast (current: %s)\n", ifname);
|
printf(" --mif listen on interface for multicast (current: %s)\n", ifname);
|
||||||
printf("\nother extended options:\n");
|
printf("\nother extended options:\n");
|
||||||
printf(" --socket-learning learn clients during listen on socket (current: %s)\n", BOOL2STR(config_client_socket_learning));
|
printf(" --socket-learning learn clients during listen on socket (current: %s)\n", BOOL2STR(config_client_socket_learning));
|
||||||
|
|
Loading…
Reference in New Issue