Hi,
This patch is against the zaku branch.
This bug also exists in the openflow-1.0 branch.
I didn't check if it exists in the destiny branch.

On 11/10/10 17:02, romain.leng...@berabera.info wrote:
From: Romain Lenglet<romain.leng...@berabera.info>

---
  src/nox/lib/util.py |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/nox/lib/util.py b/src/nox/lib/util.py
index 076d419..bd0ee5a 100644
--- a/src/nox/lib/util.py
+++ b/src/nox/lib/util.py
@@ -387,6 +387,7 @@ def extract_flow(ethernet):
          attrs[core.NW_SRC] = p.srcip
          attrs[core.NW_DST] = p.dstip
          attrs[core.NW_PROTO] = p.protocol
+        attrs[core.NW_TOS] = p.tos
          p = p.next

          if isinstance(p, udp) or isinstance(p, tcp):
@@ -403,6 +404,7 @@ def extract_flow(ethernet):
          attrs[core.NW_SRC] = 0
          attrs[core.NW_DST] = 0
          attrs[core.NW_PROTO] = 0
+        attrs[core.NW_TOS] = 0
          attrs[core.TP_SRC] = 0
          attrs[core.TP_DST] = 0
      return attrs

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to