Typo in tutorial 4, packet parsing.

26 views
Skip to first unread message

dewisantf...@gmail.com

unread,
Jul 9, 2020, 4:49:28 AM7/9/20
to PcapPlusPlus support
 The "empty" starting code would not compile for non-windows platforms,
as it has a #include without a filename. It should read:

#if !defined(WIN32) && !defined(WINx64)
#include <arpa/inet.h> // this is for using ntohs() and htons() on non-Windows OS's
#endi
f



PcapPlusPlus Support

unread,
Jul 10, 2020, 5:31:10 AM7/10/20
to dewisantf...@gmail.com, PcapPlusPlus support
You're right, thanks for noticing and reporting this typo!
I'll fix it soon.

Thanks,
PcapPlusPlus maintainer


--
You received this message because you are subscribed to the Google Groups "PcapPlusPlus support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pcapplusplus-sup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pcapplusplus-support/22ba0f49-1fae-4e0c-ba4b-a217074a5caao%40googlegroups.com.

PcapPlusPlus Support

unread,
Jul 16, 2020, 5:42:10 AM7/16/20
to dewisantf...@gmail.com, PcapPlusPlus support
BTW, if you'd consider to make the change and submit a PR that'd be great.

Thanks,
PcapPlusPlus maintainer

dewisantf...@gmail.com

unread,
Jul 20, 2020, 3:29:46 AM7/20/20
to PcapPlusPlus support
This isn't in the codebase but on the tutorial web pages at https://pcapplusplus.github.io/docs/tutorials/packet-parsing
Can I edit that?

On Thursday, 16 July 2020 10:42:10 UTC+1, PcapPlusPlus Support wrote:
BTW, if you'd consider to make the change and submit a PR that'd be great.

Thanks,
PcapPlusPlus maintainer


On Fri, Jul 10, 2020 at 2:30 AM PcapPlusPlus Support <pcappl...@gmail.com> wrote:
You're right, thanks for noticing and reporting this typo!
I'll fix it soon.

Thanks,
PcapPlusPlus maintainer


On Thu, Jul 9, 2020 at 1:49 AM <dewisantf...@gmail.com> wrote:
 The "empty" starting code would not compile for non-windows platforms,
as it has a #include without a filename. It should read:

#if !defined(WIN32) && !defined(WINx64)
#include <arpa/inet.h> // this is for using ntohs() and htons() on non-Windows OS's
#endi
f



--
You received this message because you are subscribed to the Google Groups "PcapPlusPlus support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pcapplusplus-support+unsub...@googlegroups.com.

PcapPlusPlus Support

unread,
Jul 21, 2020, 6:17:07 AM7/21/20
to dewisantf...@gmail.com, PcapPlusPlus support

On Mon, Jul 20, 2020 at 12:29 AM <dewisantf...@gmail.com> wrote:
This isn't in the codebase but on the tutorial web pages at https://pcapplusplus.github.io/docs/tutorials/packet-parsing
Can I edit that?

On Thursday, 16 July 2020 10:42:10 UTC+1, PcapPlusPlus Support wrote:
BTW, if you'd consider to make the change and submit a PR that'd be great.

Thanks,
PcapPlusPlus maintainer


On Fri, Jul 10, 2020 at 2:30 AM PcapPlusPlus Support <pcappl...@gmail.com> wrote:
You're right, thanks for noticing and reporting this typo!
I'll fix it soon.

Thanks,
PcapPlusPlus maintainer


On Thu, Jul 9, 2020 at 1:49 AM <dewisantf...@gmail.com> wrote:
 The "empty" starting code would not compile for non-windows platforms,
as it has a #include without a filename. It should read:

#if !defined(WIN32) && !defined(WINx64)
#include <arpa/inet.h> // this is for using ntohs() and htons() on non-Windows OS's
#endi
f



--
You received this message because you are subscribed to the Google Groups "PcapPlusPlus support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pcapplusplus-sup...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "PcapPlusPlus support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pcapplusplus-sup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pcapplusplus-support/b341ffb4-5192-4019-836f-e1563c535b3fo%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages