summaryrefslogtreecommitdiff
path: root/macping.c
diff options
context:
space:
mode:
Diffstat (limited to 'macping.c')
-rw-r--r--macping.c4
1 files changed, 4 insertions, 0 deletions
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;