gui: Set interface MAC address when included in CORE link API messages.
This commit is contained in:
parent
db15bee60c
commit
62adc0f1c9
1 changed files with 3 additions and 0 deletions
|
@ -697,6 +697,9 @@ proc parseLinkMessage { data len flags } {
|
||||||
$vals(if${i}ipv${j})/$vals(if${i}ipv${j}mask)
|
$vals(if${i}ipv${j})/$vals(if${i}ipv${j}mask)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if { $vals(if${i}mac) != -1 } {
|
||||||
|
setIfcMacaddr [set node${i}] $ifname $vals(if${i}mac)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
# adopt network address for WLAN (WLAN must be node 1)
|
# adopt network address for WLAN (WLAN must be node 1)
|
||||||
if { [nodeType $node1] == "wlan" } {
|
if { [nodeType $node1] == "wlan" } {
|
||||||
|
|
Loading…
Add table
Reference in a new issue