Commit 3e2ef5e
committed
common/pick_address: check if address in subnet all public address
When mon trying to check if osd joining within subnet address,
it will check only the first subnet and not the rest of the subnets.
this fix will loop over all the other subnet for checks.
Fixes: https://tracker.ceph.com/issues/65186
Signed-off-by: Nitzan Mordechai <[email protected]>1 parent 107e162 commit 3e2ef5e
1 file changed
+16
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
648 | | - | |
| 647 | + | |
649 | 648 | | |
650 | 649 | | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | 650 | | |
655 | | - | |
656 | 651 | | |
657 | | - | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
658 | 667 | | |
0 commit comments