ethmngr: update logger type

This commit is contained in:
Sukru Senli 2023-06-22 14:48:13 +02:00
parent 17b4588e03
commit 7ba3ca8af4

View file

@ -91,9 +91,9 @@ set_port_settings() {
reset_port $ifname reset_port $ifname
if [ "$numofcaps" == "1" ]; then if [ "$numofcaps" == "1" ]; then
logger -t "port-management" "$ifname is capable of $phycaps only; not setting speed/duplex" logger -t "ethmngr" "$ifname is capable of $phycaps only; not setting speed/duplex"
else else
logger -t "port-management" "$ifname is capable of $phycaps; setting speed/duplex to $media_type" logger -t "ethmngr" "$ifname is capable of $phycaps; setting speed/duplex to $media_type"
ethctl $ifname media-type $media_type ${pyhendpoint:+ port $pyhendpoint} &>/dev/null ethctl $ifname media-type $media_type ${pyhendpoint:+ port $pyhendpoint} &>/dev/null
fi fi