diff options
author | marius <marius@FreeBSD.org> | 2011-05-15 12:51:00 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2011-05-15 12:51:00 +0000 |
commit | 8ca2a25dc01b1367f1c2a3840de1767c78bef883 (patch) | |
tree | 79c30cf7eb82a2bfc0ae46d840b0432a4f660930 /lib/libgssapi/gss_release_name.c | |
parent | f698adac68a0008534dfc805ef229ec9790c5c4f (diff) | |
download | FreeBSD-src-8ca2a25dc01b1367f1c2a3840de1767c78bef883.zip FreeBSD-src-8ca2a25dc01b1367f1c2a3840de1767c78bef883.tar.gz |
When setting media always and not just in case of switching to IFM_AUTO
clear the options of the current media, i.e. only inherit the instance,
which matches what NetBSD does. Without this it's really non-intuitive
that the following sequence:
ifconfig bge0 media 1000baseT mediaopt full-duplex
ifconfig bge0 media 100baseTX
results in 100baseTX full-duplex to be set or that:
ifconfig bge0 media autoselect mediaopt flowcontrol
ifconfig bge0 media 1000baseT mediaopt full-duplex
tries to set 1000baseT full-duplex with flowcontrol, which isn't suported
und thus fails while the following:
ifconfig re0 media 1000baseT mediaopt flowcontrol,full-duplex
ifconfig re0 media autoselect
just switches to autoselection without flowcontrol.
MFC after: 2 weeks
Diffstat (limited to 'lib/libgssapi/gss_release_name.c')
0 files changed, 0 insertions, 0 deletions