From ffff2f6572d74f9764e925528a26731b31f97302 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 21 Jul 2019 11:32:42 +0200 Subject: bind_receiver_test: Fix "unused value" of writing addr_ton twice The constant 0x34 clearly hints that this should be written to interface_version... Closes: CID#135235 Change-Id: I89e16746da5c9f77b721294149a1bce5be5a1eae --- test_pdu/bind_receiver_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_pdu/bind_receiver_test.c b/test_pdu/bind_receiver_test.c index fa94c6f..67eab09 100644 --- a/test_pdu/bind_receiver_test.c +++ b/test_pdu/bind_receiver_test.c @@ -53,7 +53,7 @@ main( int argc, char *argv[] ) snprintf((char*)b.system_id, sizeof(b.system_id), "%s", "system_id"); snprintf((char*)b.password, sizeof(b.password), "%s", "pass"); snprintf((char*)b.system_type, sizeof(b.system_type), "%s", "syste"); - b.addr_ton = 0x34; + b.interface_version = 0x34; b.addr_ton = 2; b.addr_npi = 1; snprintf((char*)b.address_range, sizeof(b.address_range), "%s", "address_range"); -- cgit v1.2.3