Skip to content

Failure on PPP interfaces #5

@Vagabond

Description

@Vagabond

When we're dialing via a PPP interface:

$ ip r
default dev ppp0 scope link 
10.59.4.14 dev ppp0 scope link 
169.254.0.0/16 dev ppp0 scope link  src 169.254.172.203

So ip r | grep ppp0 | grep default | sed 's/^none //' | cut -d ' ' -f 3 returns, instead of an IP, ppp0, which is not a parsable IP and it triggers an {error, einval}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions