Allow using a custom livebox address

This commit is contained in:
Tomy Guichard 2023-06-02 00:42:35 +02:00
parent 5abe206e27
commit 8215e950e9
11 changed files with 79 additions and 21 deletions

View file

@ -27,7 +27,7 @@ func (i *Interface) IsWLAN() bool {
}
// DiscoverInterfaces discovers network interfaces on the Livebox.
func DiscoverInterfaces(ctx context.Context, client livebox.Client) ([]*Interface, error) {
func DiscoverInterfaces(ctx context.Context, client *livebox.Client) ([]*Interface, error) {
var mibs struct {
Status struct {
Base map[string]struct {