commit 7ae4284dc093f01aefa07816dad84ea36b8f72f2
parent 6b327d1f391efbff13264466f98cffb6bfe88a1c
Author: Daniel Barlow <dan@telent.net>
Date: Sun, 3 Apr 2022 12:39:59 +0100
remove debug prints
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/blinkenlicht/nl.fnl b/blinkenlicht/nl.fnl
@@ -3,7 +3,6 @@
(print (string.format "All known netlink groups: %s"
(table.concat (nl.groups) ", ")))
(local nls (nl.socket))
-(print "File descriptor:" (nls:fd))
;; when we have a default route, we get the ifname
@@ -47,7 +46,7 @@
:fd (nls:fd)
:uplink (fn [self] routes.default)
:wait #(nls:poll 1000)
- :interface (fn [self ifnum] (print :lookup ifnum (view links)) (. links ifnum))
+ :interface (fn [self ifnum] (. links ifnum))
}
))