From 8d0bca4dfd35b67202cf05077f42d332251de91d Mon Sep 17 00:00:00 2001 From: Pedro Oliveira Date: Sun, 3 Jan 2021 19:18:24 +0000 Subject: [PATCH] fix readme --- README.md | 1 + igmp/packet/PacketIGMPHeader.py | 13 ------------- setup.py | 2 +- 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 461ae37..85f569d 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ This implementation was performed during my Master thesis and has since then bee from igmp import InterfaceIGMP intf = InterfaceIGMP(interface_name="eth0") +intf.enable() # start receiving igmp packets # get information from a given multicast group multicast_group_obj = intf.interface_state.get_group_state(group_ip="224.10.11.12") diff --git a/igmp/packet/PacketIGMPHeader.py b/igmp/packet/PacketIGMPHeader.py index 0a0435f..1ccf2b5 100644 --- a/igmp/packet/PacketIGMPHeader.py +++ b/igmp/packet/PacketIGMPHeader.py @@ -10,19 +10,6 @@ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Group Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -| Resv |S| QRV | QQIC | Number of Sources (N) | -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -| Source Address [1] | -+- -+ -| Source Address [2] | -+- . -+ -. . . -. . . -+- -+ -| Source Address [N] | -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ''' class PacketIGMPHeader(PacketPayload): IGMP_TYPE = 2 diff --git a/setup.py b/setup.py index 69728f1..dc35c0f 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ long_description=open("README.md", "r").read(), long_description_content_type="text/markdown", keywords="IGMP IGMPv2 Router IPv4 Multicast Interest", - version="1.0.2", + version="1.0.3", url="http://github.com/pedrofran12/igmp", author="Pedro Oliveira", author_email="pedro.francisco.oliveira@tecnico.ulisboa.pt",