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
This commit is contained in:
Harald Welte 2019-07-21 11:32:42 +02:00
parent 1a6bf442ea
commit ffff2f6572
1 changed files with 1 additions and 1 deletions

View File

@ -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");