Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support for more operating systems.#110

Merged
zhangxp1998 merged 1 commit into
imsnif:masterfrom
Erk-:bsd
Jan 13, 2020
Merged

Add support for more operating systems.#110
zhangxp1998 merged 1 commit into
imsnif:masterfrom
Erk-:bsd

Conversation

@Erk-
Copy link
Copy Markdown
Contributor

@Erk- Erk- commented Jan 11, 2020

This commit will add support for other bsd like systems then
macos, I am not able to test on macos, but I can confirm that
it works on freebsd. it should also work on other systems with
lsof, if I understand how it works correctly. wich according to the
man pages includes macos, freebsd, linux and solaris.

Closes #20

Comment thread src/network/connection.rs Outdated
@zhangxp1998
Copy link
Copy Markdown
Collaborator

O(∩_∩)O Thanks for sending a PR! Overall looks good, I left one knitpick.

@zhangxp1998
Copy link
Copy Markdown
Collaborator

Also please correct the CI failure, it seems to be some formatting issue. Just format your code with rustfmt and the failure should go away.

This commit will add support for operating systems
that have the lsof tool, initially it will only work
on MacOS and FreeBSD, but more operating systems
may be added at a later time.

Signed-off-by: Valdemar Erk <[email protected]>
@Erk-
Copy link
Copy Markdown
Contributor Author

Erk- commented Jan 12, 2020

I have made the changes you requested

@Erk-
Copy link
Copy Markdown
Contributor Author

Erk- commented Jan 12, 2020

Missed one of the places so that is the reason for the other force push.

Copy link
Copy Markdown
Collaborator

@zhangxp1998 zhangxp1998 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^_^ Awesome! Feel free to merge it once the CI passes

@zhangxp1998 zhangxp1998 merged commit da91443 into imsnif:master Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FreeBSD port

2 participants