diff options
Diffstat (limited to 'tools/pkt_gen/trafficgen')
-rw-r--r-- | tools/pkt_gen/trafficgen/trafficgenhelper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pkt_gen/trafficgen/trafficgenhelper.py b/tools/pkt_gen/trafficgen/trafficgenhelper.py index f5ac539d..97cf6377 100644 --- a/tools/pkt_gen/trafficgen/trafficgenhelper.py +++ b/tools/pkt_gen/trafficgen/trafficgenhelper.py @@ -63,7 +63,7 @@ def merge_spec(orig, new): >>> old = {'foo': 1, 'bar': {'foo': 2, 'bar': 3}} >>> new = {'foo': 6, 'bar': {'foo': 7}} >>> merge_spec(old, new) - {'foo': 3, 'bar': {'foo': 7, 'bar': 3}} + {'foo': 6, 'bar': {'foo': 7, 'bar': 3}} You'll notice that ``bar.bar`` is not removed. This is the desired result. """ |