Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
syscall: error in definition of constant RTNLGRP_IPV4_IFADDR #15080
Please answer these questions before submitting your issue. Thanks!
I cannot get
if this line "groups := syscall.RTNLGRP_IPV4_IFADDR" will be changed to
As far as I can tell, the value of
You are trying to use
I don't think there is anything we should change in Go here. I agree that this code is subtle, and that the names look very similar, but we are correctly defining the new API constants and I think it's reasonable for us to omit the old API. If we decide that it's important to support the old API as well, we should do it in the x/sys/unix package, not the syscall package.
I'm closing this but feel free to reopen if you disagree.
Thank you for correcting me. After some digging I found that many sources in C language mostly uses
Morover as part of your answer
If you see other
So I suggest to add
Here is some incorrect codes which people does not knew that it is incorrect.
Ok. It was suggestion. If it is frozen, I will understand. However how it can be possible to contribute to go lang documentation about this information? How I can join and help to improve networking part of go language? In order other will not have same problem as me.