commit | e56ec4a146b5df46cac3676d5fa69806daaa5a20 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Tue Oct 04 14:35:00 2022 +0200 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Tue Oct 04 14:44:48 2022 +0200 |
tree | 555fa4a38ca18645d4c684d74fec089c513bd867 | |
parent | 5ffd12738467c0d8a9d0b7061e4d4b4ac925bfcb [diff] |
osmux: Use available API to check if remote end is known Since recently the port is guaranteed to be placed at CRCX/MDCX in the sockaddr, hence we can check it using the API instead of checking manually only for the address part. In osmux_send_dummy() we actually fix a bug where an in_addr was being compared against a struct sockaddr. Change-Id: I736e7f4c51e577d8eb0b96bc776f984f928b6d27