martinduke / udp-ecn

Explains how to set and get ECN markings over UDP.
Other
0 stars 2 forks source link

socket options use names, not types #2

Closed tuexen closed 2 months ago

tuexen commented 2 months ago

while there, fix also a typo.

martinduke commented 2 months ago

I'm a bit confused because your PR seems to be changing "name" to "type", which is not your title.

In any case, the relevant variable in the struct is cmsg_type, so that seems more transparent. I prefer "type", so I'll commit this.