aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osmo_ss7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c
index e7e688d..5da0da8 100644
--- a/src/osmo_ss7.c
+++ b/src/osmo_ss7.c
@@ -1074,7 +1074,7 @@ int osmo_ss7_asp_peer_snprintf(char* buf, size_t buf_len, struct osmo_ss7_asp_pe
if (buf_len < 3)
return -EINVAL;
- if (peer->host_cnt != 1) {
+ if (peer->host_cnt > 1) {
ret = snprintf(buf, rem, "(");
if (ret < 0)
return ret;