neels has submitted this change. (
https://gerrit.osmocom.org/c/osmo-upf/+/28983 )
Change subject: log: fix/tweak log msg about nft/mockup
......................................................................
log: fix/tweak log msg about nft/mockup
There is no cmdline option --mockup-nft, that was an earlier stage of
the nftables mockup patch.
Related: SYS#5599
Change-Id: I2f77cfe727649bbdcebb4a656ebf97b186134ee8
---
M src/osmo-upf/upf_nft.c
1 file changed, 3 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
laforge: Looks good to me, approved
diff --git a/src/osmo-upf/upf_nft.c b/src/osmo-upf/upf_nft.c
index c035016..bcb6a70 100644
--- a/src/osmo-upf/upf_nft.c
+++ b/src/osmo-upf/upf_nft.c
@@ -40,7 +40,7 @@
int rc;
if (g_upf->nft.mockup) {
- LOGP(DNFT, LOGL_NOTICE, "--mockup-gtp active, not running nft ruleset:
'%s'\n", ruleset);
+ LOGP(DNFT, LOGL_NOTICE, "nft/mockup active: not running nft ruleset:
'%s'\n", ruleset);
return 0;
}
@@ -63,7 +63,8 @@
{
int rc;
if (g_upf->nft.mockup) {
- LOGP(DNFT, LOGL_NOTICE, "--mockup-gtp active, not allocating libnftables
nft_ctx\n");
+ LOGP(DNFT, LOGL_NOTICE,
+ "nft/mockup active: not allocating libnftables nft_ctx. FOR TESTING PURPOSES
ONLY.\n");
return 0;
}
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
--
To view, visit
https://gerrit.osmocom.org/c/osmo-upf/+/28983
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-upf
Gerrit-Branch: master
Gerrit-Change-Id: I2f77cfe727649bbdcebb4a656ebf97b186134ee8
Gerrit-Change-Number: 28983
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: merged