Remove GetOffloadInfo() (#32)

* Remove GetOffloadInfo()
* Remove GetOffloadInfo() from bind_windows as well
* Allow lightweight tags to be used in the version
This commit is contained in:
Iurii Egorov 2024-05-24 18:18:23 +03:00 committed by GitHub
parent 87d8c00f86
commit 2e7780471a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 1 additions and 15 deletions

View file

@ -298,11 +298,6 @@ func (s *StdNetBind) BatchSize() int {
return 1
}
func (s *StdNetBind) GetOffloadInfo() string {
return fmt.Sprintf("ipv4TxOffload: %v, ipv4RxOffload: %v\nipv6TxOffload: %v, ipv6RxOffload: %v",
s.ipv4TxOffload, s.ipv4RxOffload, s.ipv6TxOffload, s.ipv6RxOffload)
}
func (s *StdNetBind) Close() error {
s.mu.Lock()
defer s.mu.Unlock()