Skip to content
Success

Changes

Summary

  1. pcap-server: Take into account PDU len when calculating pcap max-size (details)
  2. pcap-server: Move write checks to reopen pcap into helper functions (details)
  3. pcap-server: New vty command 'no max-file-size' (details)
  4. tests/Makefile.am: Fix trailing whitespace (details)
Commit 6b03013a65dc25c599a51ca00e6f6139df88de76 by Pau Espin Pedrol
pcap-server: Take into account PDU len when calculating pcap max-size

We never want to overpass the configured max-size.

Change-Id: I666830fbbc23ce34007d45bbf8c7a13a1f2a93ea
The file was modifiedsrc/osmo_server_network.c
Commit 73f0dc994822fcd30ecb3f61c6026134253e2444 by Pau Espin Pedrol
pcap-server: Move write checks to reopen pcap into helper functions

The logic there will be further extended, hence move the code as a
preparatory patch.

Change-Id: Icc2a8e424b166863afa9f8704fd48d35528972df
The file was modifiedsrc/osmo_server_network.c
Commit d94e1ffcb75f7b2390138d7eb3b95b0f879b1e91 by Pau Espin Pedrol
pcap-server: New vty command 'no max-file-size'

This new VTY command allows disabling the max-file-size feature.

Change-Id: I54f1f0e2976ea235e92a1c527fa80f18ae166992
The file was modifiedinclude/osmo-pcap/osmo_pcap_server.h
The file was modifiedsrc/osmo_server_main.c
The file was modifiedsrc/osmo_server_vty.c
The file was modifiedsrc/osmo_server_network.c
Commit 1c74573e3ac42f83f95b48b1a63a921ea3da46aa by Pau Espin Pedrol
tests/Makefile.am: Fix trailing whitespace

Change-Id: I121a0d596a645e6c70b5c9d2ff394d263d2a1dc4
The file was modifiedtests/Makefile.am