eufon

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8c34f9429e2eb358980b46377eab13ad961d14be
parent 3d5d1078c29f72bbd2205b8e35c6aae3b3f8066e
Author: Daniel Barlow <dan@telent.net>
Date:   Tue,  5 Apr 2022 21:16:31 +0000

note need to support >1 default route

Diffstat:
Mblinkenlicht/uplink.fnl | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/blinkenlicht/uplink.fnl b/blinkenlicht/uplink.fnl @@ -71,6 +71,10 @@ "no" event)) {:event :newroute} + ;; XXX there may be >1 route to any given destination, + ;; (e.g wwan and wlan both have default route) + ;; we probably need to store all of them and + ;; distinguish by metric (tset routes (or event.dst "default") event) {} (print :unhandled event.event)