From 7ae4284dc093f01aefa07816dad84ea36b8f72f2 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 3 Apr 2022 12:39:59 +0100 Subject: [PATCH] remove debug prints --- blinkenlicht/nl.fnl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blinkenlicht/nl.fnl b/blinkenlicht/nl.fnl index 87587fc..6be61c0 100644 --- 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)) } ))