- 23 Nov, 2015 16 commits
-
-
Stephen Hemminger authored
Remove extraneous whitespace
-
Ville Skyttä authored
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
-
Ville Skyttä authored
Fix syntax issues and warnings highlighted by `man --warnings=w' from man-db 2.7.1. Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
-
Phil Sutter authored
Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Since p->name is only IFNAMSIZ bytes, do not copy more than IFNAMSIZ - 1 bytes into it so there remains at least a single null byte in the end. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Instead of parsing an unsigned integer and checking boundaries, simply parse u8. This and the added ttl alias 'hlim' provide consistency with ip6tunnel. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
This makes output consistent with iptunnel, also supporting reverse DNS lookup for remote address if requested. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
In iptunnel, declare loop variables inside the loop as done in ip6tunnel. Fix and simplify goto logic in ip6tunnel: - Failure to read over header lines would have left fp opened. - By returning directly upon fopen() failure, fp can be closed unconditionally in the end. Use the same goto logic in iptunnel, as well. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Although the cache is only initialized in do_show(), this way it is at least consistent with ip6tunnel. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Make ip6tunnel print an error message as well. While there, get rid of unnecessary line breaking. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Instead of duplicating the same code six times (key, ikey and okey in iptunnel and ip6tunnel), have a common parsing routine. This has the added benefit of having the same verbose error message in ip6tunnel as well as iptunnel. I'm not sure if parsing an IPv4 address as key makes sense for ip6tunnel, but the code was there before so this patch at least doesn't make it worse. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Put whitespace in the beginning of optional parts, not as suffix anywhere. Also drop double whitespaces in between words. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Aaro Koskinen authored
Use PKG_CONFIG from Config - it works better when cross-compiling. Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
-
- 04 Nov, 2015 8 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Phil Sutter authored
Instead of statically complaining about illegal inet address, use get_family() to get the address family right. Based on a patch by Hangbin Liu to print "inet6" for AF_INET6 made more generic by me. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
-
Phil Sutter authored
-
Phil Sutter authored
-
Phil Sutter authored
-
- 23 Oct, 2015 16 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
No blank lines at end of file
-
Stephen Hemminger authored
No blank lines at EOF, or trailing whitespace.
-
Stephen Hemminger authored
Shouldn't have extra blank lines.
-
Phil Sutter authored
Cc: Thomas Graf <tgraf@suug.ch> Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Cc: Jiri Pirko <jiri@resnulli.us> Cc: Patrick McHardy <kaber@trash.net> Cc: Werner Almesberger <werner@almesberger.net> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Werner Almesberger <werner@almesberger.net> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Patrick McHardy <kaber@trash.net> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Thomas Graf <tgraf@suug.ch> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Thomas Graf <tgraf@suug.ch> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Add missing spaces around operators to increase readability. Aside from that, make "preference" match a real synonym for "tos" and "dsfield" as it's effect was identical to them. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
This fixes a few syntax errors and changes route filter help text to use classid instead of flowid to be consistent with other filters' help texts. Signed-off-by: Phil Sutter <phil@nwl.cc>
-