ss (in iproute2) uses getopt_long, which is totally different from the procedural parsing that ip and bridge do. Because ss (in this project) has parsing mostly duplicated from ip, there are several errors in cli parsing:
ss -x isn't accepted
ss -unix should be parsed as ss -u -n -i -x, but it's currently parsed as ss --unix
- grouped opts like
ss -xH don't work
- etc…
I'll submit a patch for this within a week or two if someone else doesn't beat me to it. I'm reporting this as both an FYI, and an explanation as to why I didn't include any changes to ss in #74.
ss(in iproute2) uses getopt_long, which is totally different from the procedural parsing thatipandbridgedo. Becausess(in this project) has parsing mostly duplicated fromip, there are several errors in cli parsing:ss -xisn't acceptedss -unixshould be parsed asss -u -n -i -x, but it's currently parsed asss --unixss -xHdon't workI'll submit a patch for this within a week or two if someone else doesn't beat me to it. I'm reporting this as both an FYI, and an explanation as to why I didn't include any changes to
ssin #74.