Allow using a custom livebox address (#7)

This commit is contained in:
Tomy Guichard 2023-06-03 11:30:01 +02:00 committed by GitHub
parent 5abe206e27
commit 4a5496d239
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 141 additions and 38 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 {