commit | ca62121c19c0eb7c78a46e0412784d904c78bd3c | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Thu Mar 03 17:38:31 2022 +0100 |
committer | Harald Welte <laforge@osmocom.org> | Thu Mar 03 17:48:14 2022 +0100 |
tree | c1bb6cac84a6a4ee7b32b276ad0c5265849341ee | |
parent | 8b52b44f1b0bf7ce323d2241c1e61f3632850774 [diff] |
host: Don't pass -1 (converted to 255) as address We initialize a local variable to -1, and if the user specifies no address from the command line, we use this in the interface match struct, which uses a uint8_t. This means 255 ends up in there, and as a result no usb interface ever matches unless the user explicitly specifies the -A command line argument. With this patch any absent -A argument will result in ifm.addr == 0, which means "don't match on address", and which is what we want here. Change-Id: Iffb5fa406ddef00c7c15570ffca2c109b98d7a2d
This is the repository for the next-generation SIMtrace devices, providing abilities to trace the communication between (U)SIM card and phone, remote (U)SIM card forward, (U)SIM man-in-the-middle, and more.
NOTE: Nothing in this repository applies to the SIMtrace v1.x hardware or its associated firmware. SIMtrace v1.x is based on a different CPU / microcontroller architecture and uses a completely different software stack and host software.
This repository contains several directory
The host software includes