Change in osmo-bsc[master]: ipaccess: Fix writing pcap output to fd=0 (stdin)
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/29378 ) Change subject: ipaccess: Fix writing pcap output to fd=0 (stdin) ...................................................................... ipaccess: Fix writing pcap output to fd=0 (stdin) It ended up in seeing lots of garbage in my terminal every time I run the program. Change-Id: I9ee0a4c51f4f10bf71390f884d67d87b623773df --- M src/ipaccess/ipaccess-config.c 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/78/29378/1 diff --git a/src/ipaccess/ipaccess-config.c b/src/ipaccess/ipaccess-config.c index a22d311..3df9f61 100644 --- a/src/ipaccess/ipaccess-config.c +++ b/src/ipaccess/ipaccess-config.c @@ -141,6 +141,7 @@ return -EINVAL; } e1inp_line_bind_ops(line, &ipaccess_e1inp_line_ops); + e1_set_pcap_fd2(line, -1); /* Disable writing to pcap */ sign_ts = e1inp_line_ipa_oml_ts(line); rsl_ts = e1inp_line_ipa_rsl_ts(line, 0); -- To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/29378 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Change-Id: I9ee0a4c51f4f10bf71390f884d67d87b623773df Gerrit-Change-Number: 29378 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
pespin