aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-05-27 18:04:02 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-29 08:45:43 +0000
commit1825ab5bae0b044bb6497200b5039284162d402e (patch)
treea70a9aae4b7dd5a5d5d266692fe2d962fd43ff87 /debian/rules
parent20795e3fda107f4b292497337fd1a35d74482342 (diff)
sgsn: Fix echo timer not started upon first pdp ctx created
Commit 176a4d2f33865a5c0433f8679f5e68f209d7b874 moved echo timer related code to its own function but did some mistakes when moving the logic from several places into its own function. As a result, echo timer was only enabled after the 2nd pdp ctx was created, instead of the expected 1st. First, let's be consistent and always call the function *after* changing state, since that's what the function expects. This fixes the issue. Finally make the logic in the function more intuitive by checking in the if clause the only case where actually the echo timer should be enabled: Only if policy specifies so and we have at least 1 pdp ctx against that ggsn. Fixes: 176a4d2f33865a5c0433f8679f5e68f209d7b874 Change-Id: I826030978edb61ea5a172c2b72f63758206a6246
Diffstat (limited to 'debian/rules')
0 files changed, 0 insertions, 0 deletions