]> xenbits.xensource.com Git - libvirt.git/commit
networkGetDHCPLeases: Don't assign @ipdef_tmp twice
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 5 Jan 2021 11:54:40 +0000 (12:54 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 5 Jan 2021 11:54:40 +0000 (12:54 +0100)
commitb304207f5865f00d99392b39afc0b9eb61d98dcd
tree6be6d069048f50b8967f96f467a309c471db79c6
parent03be543f6bbbc34e66456af2ceccb004faa58c01
networkGetDHCPLeases: Don't assign @ipdef_tmp twice

When rewriting the function, I've mistakenly declared a variable
and assigned it to itself. Let's initialize the variable properly.

Fixes: 5fb6d98c881c42ab41ca72060217b846949a438f
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/network/bridge_driver.c