Commit 4e1ea42
tree: handle the case when host_iface/host_traddr are set to "none"
When trying to determine if a candidate configuration matches an
existing controller connection, treat the candidate's host_iface
or host_traddr set to "none" as a NULL pointer.
This is to avoid using host_iface/host_traddr in the comparison
with existing connections and falsely concluding that a new
connection needs to be created.
Signed-off-by: Martin Belanger <martin.belanger@dell.com>1 parent 846d61c commit 4e1ea42
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1714 | 1714 | | |
1715 | 1715 | | |
1716 | 1716 | | |
1717 | | - | |
1718 | | - | |
| 1717 | + | |
| 1718 | + | |
1719 | 1719 | | |
1720 | 1720 | | |
1721 | 1721 | | |
| |||
0 commit comments