aboutsummaryrefslogtreecommitdiffstats
path: root/test/scripts/tcp_stream_modify.py
blob: 93b0d5c8d03e6604f05db35d9d2ca95c98472ae9 (plain)
1
2
3
def tcp_message(ctx, tm):
    if tm.sender == tm.server_conn:
        tm.message = tm.message.replace("foo", "bar")