]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libifconfig: fix ifconfig_set_metric
authorasomers <asomers@FreeBSD.org>
Wed, 21 Feb 2018 20:45:43 +0000 (20:45 +0000)
committerasomers <asomers@FreeBSD.org>
Wed, 21 Feb 2018 20:45:43 +0000 (20:45 +0000)
commitd1b72149165beb9118efb906d2fdd491f282d5af
tree80fb5d76318c6627ce89d934a2f7d6d38d12dc86
parentcceeb5ef0c726829bfa8d43a3c77fd288b205193
libifconfig: fix ifconfig_set_metric

Due to a copy/paste error, ifconfig_set_metric actually set the mtu, not the
metric.

See Also: https://github.com/Savagedlight/libifconfig/issues/48

MFC after: 3 weeks
Sponsored by: Spectra Logic Corp
lib/libifconfig/libifconfig.c