Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This way, packages can pass a ConnectionInt implementation around, which previously was not possible. I.e., previously you had to use dhcp4client.Connection(&literal{}) directly, now you can use: func createClient(conn dhcp4client.ConnectionInt) *dhcp4client.Client { return dhcp4client.New(dhcp4client.Connection(conn)) }
- Loading branch information