diff options
-rw-r--r-- | plugins/huawei/mm-modem-helpers-huawei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/huawei/mm-modem-helpers-huawei.c b/plugins/huawei/mm-modem-helpers-huawei.c index 87a54e42..0e0e046b 100644 --- a/plugins/huawei/mm-modem-helpers-huawei.c +++ b/plugins/huawei/mm-modem-helpers-huawei.c @@ -190,7 +190,7 @@ match_info_to_ip4_addr (GMatchInfo *match_info, if (!bin || bin_len != 4) goto done; - *out_addr = GUINT32_TO_BE (*((guint32 *) bin)); + *out_addr = GUINT32_SWAP_LE_BE (*((guint32 *) bin)); success = TRUE; done: |