Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unconsidered cases parsing "ip -4 addr" in linux_if.lua #1

Open
cdessez opened this issue Jul 20, 2013 · 1 comment
Open

Unconsidered cases parsing "ip -4 addr" in linux_if.lua #1

cdessez opened this issue Jul 20, 2013 · 1 comment

Comments

@cdessez
Copy link

cdessez commented Jul 20, 2013

The case of a peer to peer interface (for example with OpenVPN) is not taken into account, which may make pm.lua crash.
Suggestion: adding the following code line 172

-- case 4: inet peer
'^%s+inet (%S+) peer',
function()
end,

@fingon
Copy link
Owner

fingon commented Jul 20, 2013

On 20.7.2013, at 17.22, Cédric Dessez [email protected] wrote:

The case of a peer to peer interface (for example with OpenVPN) is not taken into account, which may make pm.lua crash.
Suggestion: adding the following code line 172

-- case 4: inet peer
'^%s+inet (%S+) peer',
function()
end,

Can you cut-n-paste that ifconfig? I'd like to add it to unit tests too.

Cheers,

-Markus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants