Skip to content

Fix exception thrown when isUp() is called on an unavailable network interface#1679

Merged
mcm001 merged 1 commit intoPhotonVision:mainfrom
crschardt:fix-isUp-exception-when-network-is-not-available
Jan 4, 2025
Merged

Fix exception thrown when isUp() is called on an unavailable network interface#1679
mcm001 merged 1 commit intoPhotonVision:mainfrom
crschardt:fix-isUp-exception-when-network-is-not-available

Conversation

@crschardt
Copy link
Contributor

Make sure to check if the interface returned from NetworkInterface.getByName() is null before calling isUp() on it.

@crschardt crschardt requested a review from a team as a code owner January 4, 2025 05:18
Copy link
Contributor

@mcm001 mcm001 left a comment

Choose a reason for hiding this comment

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

💀 skibidy toilet rizz sigma

@Juniormunk
Copy link
Contributor

STOP! WHY!

💀 skibidy toilet rizz sigma

@mcm001
Copy link
Contributor

mcm001 commented Jan 4, 2025

Get in nerd, we're doing brain rot

@mcm001 mcm001 merged commit a84d681 into PhotonVision:main Jan 4, 2025
mcm001 pushed a commit to mcm001/photonvision that referenced this pull request Feb 18, 2025
@Gold856 Gold856 added the backend Things relating to photon-core and photon-server label Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Things relating to photon-core and photon-server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants