Wifx / gonetworkmanager

Go D-Bus bindings for NetworkManager
Other
96 stars 42 forks source link

Setting IPv6 Address #40

Closed hupiao closed 4 months ago

hupiao commented 5 months ago

I want to know how to configure IPv6 addresses, but the example provided only has methods for configuring IPv4 addresses. Could you please show how to configure IPv6 addresses?

mullerch commented 4 months ago

I don't have a full example. However, you can start from the static_connect example. The IPv6 properties are detailed in the NetworkManager's documentation at https://networkmanager.dev/docs/api/latest/nm-settings-dbus.html#id-1.2.9.4.19.

hupiao commented 4 months ago

已经收到您的邮件,谢谢!