Skip to content

Commit

Permalink
rlm_sigtran: Move to fr_time_t
Browse files Browse the repository at this point in the history
  • Loading branch information
jpereira authored and arr2036 committed May 23, 2019
1 parent 0901b89 commit ec20d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_sigtran/libosmo-m3ua/pcap.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ int mtp_pcap_write_msu(int fd, const uint8_t *data, int length)
.orig_len = length,
};

gettimeofday(&tv, NULL);
fr_time_to_timeval(&tv, fr_time());
payload_header.ts_sec = tv.tv_sec;
payload_header.ts_usec = tv.tv_usec;

Expand Down

0 comments on commit ec20d89

Please sign in to comment.