HomeFreeBSD

libifconfig: fix ifconfig_set_metric

Description

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

Details

Provenance
asomersAuthored on
Parents
rS329749: Fix a read past the end of a buffer in fsck.
Branches
Unknown
Tags
Unknown