neels has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-upf refs/changes/83/28983/1
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;
}
--
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: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: newchange