1
0
forked from pool/osmo-ggsn
Jan Engelhardt 2023-05-18 14:11:45 +00:00 committed by Git OBS Bridge
parent 590eba5ccf
commit 1bcd1bfdcc
3 changed files with 19 additions and 0 deletions

View File

@ -5,6 +5,7 @@ Thu May 18 11:45:02 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
* Use rate_ctr for gsn_t available_counters
* ggsn: Introduce tdef and make it configurable over VTY
* gtp: Introduce VTY configurable GTP timer X3
- Add ppc64.diff
-------------------------------------------------------------------
Wed Aug 3 18:29:09 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -26,6 +26,7 @@ Group: Productivity/Telephony/Servers
URL: https://osmocom.org/projects/openggsn/wiki/OsmoGGSN
Source: https://github.com/osmocom/osmo-ggsn/archive/%version.tar.gz
Patch1: build-fixes.diff
Patch2: ppc64.diff
BuildRequires: libtool >= 2
BuildRequires: pkgconfig >= 0.20
BuildRequires: systemd-rpm-macros

17
ppc64.diff Normal file
View File

@ -0,0 +1,17 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2023-05-18 16:11:05.927027347 +0200
Upstream: not submitted, too much work
diff --git a/utils/gtp_echo_responder.c b/utils/gtp_echo_responder.c
index 390fa25..3c383c2 100644
--- a/utils/gtp_echo_responder.c
+++ b/utils/gtp_echo_responder.c
@@ -80,7 +80,7 @@ struct gtp2_hdr {
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
uint32_t reserved2:8, seq:24;
#else
- uint8_t seq:24, reserved2:1;
+ uint32_t seq:24, reserved2:8;
#endif
} __attribute__((packed));