The short form of flags for IFF_POINTOPOINT and IFF_PROMISC are the same character (see below). I found that bug when i was rewriting the flags output.
Can’t remember I think I was inspired by BSD tools but not sure. I would agree to change pointtopoint, because PROMISC might be more security critical (even when the linked patch modified it from M to P …)
Last edit: Mike Frysinger 2021-12-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i don't know how the short flags were picked and whether they're related to anything else (like a command line option). if they're not, easiest thing is prob to change pointtopoint to lowercase p. i can't find any such relationship in the tree ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can’t remember I think I was inspired by BSD tools but not sure. I would agree to change pointtopoint, because PROMISC might be more security critical (even when the linked patch modified it from M to P …)
Last edit: Mike Frysinger 2021-12-12
this bug has been around for over 21 years ;). added via
https://sourceforge.net/p/net-tools/code/ci/942d4debc340b0ea039483301088ff5e667009bf
i don't know how the short flags were picked and whether they're related to anything else (like a command line option). if they're not, easiest thing is prob to change pointtopoint to lowercase p. i can't find any such relationship in the tree ...
okiedokie, pushed that fix
https://sourceforge.net/p/net-tools/code/ci/4030929bb6f3ee6f465c76869d7a49424df45d9e