network: fix endian issue in converting port to network id
authorFelix Fietkau <nbd@nbd.name>
Sun, 31 Mar 2024 15:56:21 +0000 (17:56 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sun, 31 Mar 2024 15:56:23 +0000 (17:56 +0200)
commita29d45c71bca9babb24a477ff7f801daa9b3326c
tree334b822cc035dea38ea46b02aa3a9322ad554fb1
parent203c88857354e09dc2c9f5b57f0f66ac1f76a16d
network: fix endian issue in converting port to network id

Use little endian to remain compatible with most systems

Signed-off-by: Felix Fietkau <nbd@nbd.name>
network.c