Get router mac address in splash page with http variable $routermac

Here is my attempt to return the MAC address from the router (wlan0) and be accessible on splash page $routermac

I have a little C experience (my main language is Perl) but i'm trying to contribute :+1: