JulianSchmid / etherparse

A rust library for parsing ethernet & ethernet using protocols.
Apache License 2.0
285 stars 54 forks source link

Add fn for source and destination on InternetSlice #54

Closed nagy closed 1 year ago

nagy commented 1 year ago

This adds two convenience functions. The test might be a bit overkill.

JulianSchmid commented 1 year ago

I like overkill tests 😄. Thanks for the PR.