diff options
| author | Ruben Herold <ruben@puettmann.net> | 2026-08-07 22:56:21 +0200 |
|---|---|---|
| committer | Ruben Herold <ruben@puettmann.net> | 2026-08-07 22:56:21 +0200 |
| commit | f968d22867beb2ea44a6e6716e2fb40e73a68b39 (patch) | |
| tree | 3ad618b1a3b98ca09c6213a1650c3eda13208b62 /src/migration-scripts/https/6-to-7 | |
| parent | 278fba204200f02bb461f786f889b40dc38a26f6 (diff) | |
| download | vyos-1x-f968d22867beb2ea44a6e6716e2fb40e73a68b39.tar.gz vyos-1x-f968d22867beb2ea44a6e6716e2fb40e73a68b39.zip | |
utils: T9177: fix _are_same_ip() using wrong address family
_are_same_ip() computed the address family of both arguments but
only ever passed the first one's family to inet_pton() for both,
via a computed-but-unused "s_two" local. Comparing addresses of
different families (e.g. one IPv4, one IPv6) raised instead of
returning False. Found via ruff flagging s_two as an unused local;
the function currently has no callers.
Diffstat (limited to 'src/migration-scripts/https/6-to-7')
0 files changed, 0 insertions, 0 deletions
