forked from RexOps/Rex
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update _parse_ip subroutine. be possible to parse ppp0.
- Loading branch information
Showing
4 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ppp0 Link encap:Point-to-Point Protocol | ||
inet addr:123.117.251.17 P-t-P:234.165.249.179 Mask:255.255.255.255 | ||
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1454 Metric:1 | ||
RX packets:4143329786 errors:0 dropped:0 overruns:0 frame:0 | ||
TX packets:754829057 errors:0 dropped:0 overruns:0 carrier:0 | ||
collisions:0 txqueuelen:3 | ||
RX bytes:1171440390 (1.0 GiB) TX bytes:121847007 (116.2 MiB) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
4: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1454 qdisc pfifo_fast qlen 3 | ||
link/ppp | ||
inet 123.117.251.17 peer 234.165.249.179/32 scope global ppp0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters