From 62fbf67c2a27b10e6ff534c7795a96e38d259e55 Mon Sep 17 00:00:00 2001 From: Håkon Nessjøen Date: Sun, 13 Nov 2011 06:40:22 +0100 Subject: Added comment to remind myself not from writing "non-root" version of macping any more times --- macping.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/macping.c b/macping.c index 63ca5eb..2e90bc7 100644 --- a/macping.c +++ b/macping.c @@ -163,6 +163,10 @@ int main(int argc, char **argv) { exit(1); } + /* Mikrotik RouterOS does not answer unless the packet has the correct recipient mac-address in + * the ethernet frame. Unlike real MacTelnet connections where the OS is ok with it being a + * broadcast mac address. + */ if (geteuid() != 0) { fprintf(stderr, "You need to have root privileges to use %s.\n", argv[0]); return 1; -- cgit v1.2.3