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
changes/62/14862/1
Harald Welte 3 years ago
parent 1a6bf442ea
commit ffff2f6572
  1. 2
      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");

Loading…
Cancel
Save