Corrected library function to have Vf prefix

Corrected function signature to have correct name LinkSetVfTrust
instead of LinkSetTrust.
This aligns with code comment and rest of the other VF functions.

Signed-off-by: Parav Pandit <parav@mellanox.com>
This commit is contained in:
Parav Pandit 2017-08-07 20:47:11 -05:00 committed by Vish (Ishaya) Abrams
parent 70cf3c74a8
commit 06ccf872a2
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ func (h *Handle) LinkSetVfSpoofchk(link Link, vf int, check bool) error {
// LinkSetVfTrust enables/disables trust state on a vf for the link.
// Equivalent to: `ip link set $link vf $vf trust $state`
func LinkSetTrust(link Link, vf int, state bool) error {
func LinkSetVfTrust(link Link, vf int, state bool) error {
return pkgHandle.LinkSetVfTrust(link, vf, state)
}