summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2017-12-06 17:21:37 +0100
committerChristian Poessinger <christian@poessinger.com>2017-12-08 17:56:52 +0100
commit89f049f94e9ce08b2d17808b28458ee1bf51c9d5 (patch)
tree777d45a41493579e3ae66743dcb93e19c0c0b2f5
parent3fc8049f4672ed9512b3446fc8a35440e242dcf9 (diff)
downloadmdns-repeater-89f049f94e9ce08b2d17808b28458ee1bf51c9d5.tar.gz
mdns-repeater-89f049f94e9ce08b2d17808b28458ee1bf51c9d5.zip
Comment adjustment
-rw-r--r--mdns-repeater.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mdns-repeater.c b/mdns-repeater.c
index 057389a..7e0a60d 100644
--- a/mdns-repeater.c
+++ b/mdns-repeater.c
@@ -40,11 +40,11 @@
#define PIDFILE "/var/run/" PACKAGE ".pid"
struct if_sock {
- const char *ifname; /* interface name */
- int sockfd; /* socket filedesc */
+ const char *ifname; /* interface name */
+ int sockfd; /* socket filedesc */
struct in_addr addr; /* interface addr */
struct in_addr mask; /* interface mask */
- struct in_addr net; /* interface network (computed) */
+ struct in_addr net; /* interface network (computed) */
};
int server_sockfd = -1;
@@ -295,7 +295,6 @@ static void show_help(const char *progname) {
fprintf(stderr, "\n"
"<ifdev> specifies an interface like \"eth0\"\n"
"packets received on an interface is repeated across all other specified interfaces\n"
- "maximum number of interfaces is 5\n"
"\n"
" flags:\n"
" -f runs in foreground for debugging\n"