jamesmcm / vopono

Run applications through VPN tunnels with temporary network namespaces
GNU General Public License v3.0
888 stars 46 forks source link

Fix pactl parsing when in non-English language #220

Closed jamesmcm closed 1 year ago

jamesmcm commented 1 year ago

Also strip out '-' from network namespace name even when under 7 characters to avoid syntax errors

Fixes #219 and ensures #218 doesn't occur even for short server names.

Note we could use serde_json instead but it seemed overkill for one field (although note we do it use it in vopono sync anyway).