Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-08-26 | dhcp,network: implement RFC 4833 (DHCP Timezone option) | Lennart Poettering | |
This one is simply to add: encode the tzdata timezone in the DHCP options and optionally make use of it. | |||
2015-08-06 | tree-wide: fix indentation | Thomas Hindoe Paaboel Andersen | |
2015-08-03 | tree-wide: convert bootchart and lldp code to use clock_boottime_or_monotonic() | Lennart Poettering | |
We should avoid using CLOCK_BOOTTIME directly unless we actually can sensible distuingish it from CLOCK_MONOTONIC. CLOCK_BOOTTIME is only fully feature on very recent Linux kernels, hence we should stick to a fallback logic, which is already available in the clock_boottime_or_monotonic() call. | |||
2015-06-13 | sd-netlink: rename from sd-rtnl | Tom Gundersen | |
2015-06-11 | sd-rtnl: make joining broadcast groups implicit | Tom Gundersen | |
2015-06-08 | tree-wide: remove spurious space | Thomas Hindoe Paaboel Andersen | |
2015-05-30 | networkctl: fix uninitialized variable | Ronny Chevalier | |
We ignore the return value of sd_device_get_devtype, then devtype could be uninitialized when used with streq_ptr. So we need to initialize it first. | |||
2015-04-11 | shared: add terminal-util.[ch] | Ronny Chevalier | |
2015-04-02 | networkctl: port from libudev to sd-device | Tom Gundersen | |
2015-03-27 | fix gcc warnings about uninitialized variables | Harald Hoyer | |
like: src/shared/install.c: In function ‘unit_file_lookup_state’: src/shared/install.c:1861:16: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized] return r < 0 ? r : state; ^ src/shared/install.c:1796:13: note: ‘r’ was declared here int r; ^ | |||
2015-03-07 | networkctl: avoid leak if a field was specified twice | Zbigniew Jędrzejewski-Szmek | |
The input data would have to be borked, so this is unlikely to happen, but since we have a nice helper function to do it properly... why not? CID #1261390. | |||
2015-02-27 | networkd: add support for Uplink Failure Detection | Alin Rauta | |
Introduce BindCarrier= to indicate the set of links that determine if the current link should be brought UP or DOWN. [tomegun: add a bit to commit message] | |||
2015-01-19 | man: add networkctl(1) | Zbigniew Jędrzejewski-Szmek | |
2015-01-01 | networkctl: avoid potential use of unitialized variables | Zbigniew Jędrzejewski-Szmek | |
Those values are based on a file we read from disk, so we should verify everything we receive, and make sure everything we print is sensible. Also, print fractional seconds for TTL. | |||
2015-01-01 | networkctl: remove unused variable | Zbigniew Jędrzejewski-Szmek | |
2015-01-01 | network: fix scanf/printf format | Zbigniew Jędrzejewski-Szmek | |
usec_t is defined as 64 bit wide, but long is 32 bit on many archs. | |||
2014-12-31 | networkctl: fix strappend() error checking | David Herrmann | |
Make sure to test the right variable for NULL. | |||
2014-12-19 | networkctl: lldp - respect arg_legend | Tom Gundersen | |
2014-12-19 | LLDP: Add support for networkctl | Susant Sahani | |
2014-12-19 | networkctl: port to verbs helper | Tom Gundersen | |
2014-12-15 | networkctl: port from libudev to sd-hwdb | Tom Gundersen | |
2014-12-12 | networkctl: remove unused variable | Thomas Hindoe Paaboel Andersen | |
2014-12-12 | networkctl: also draw a nice unicode cirlce when "networkctl status" is run ↵ | Lennart Poettering | |
without parameters | |||
2014-12-12 | networkctl: show interface names next to IP addresses if we dump adresses ↵ | Lennart Poettering | |
from all interfaces | |||
2014-12-12 | networkctl: also show gateway address when "networkctl status" without ↵ | Lennart Poettering | |
further arguments is passed | |||
2014-12-12 | networkctl: show MAC address OUI vendor next to MAC addresses | Lennart Poettering | |
2014-12-04 | networkctl: use the shared functions for enumerating the local gateways | Tom Gundersen | |
2014-12-04 | rtnl: when querying local addresses and gateways, take address family into ↵ | Lennart Poettering | |
account | |||
2014-12-03 | networkctl: remove unused variable | Thomas Hindoe Paaboel Andersen | |
2014-12-03 | networkd: fix typo | Torstein Husebø | |
V2: found another one | |||
2014-12-02 | shared: add format helpers for printing MAC addresses | Tom Gundersen | |
Use these in networctl. | |||
2014-12-02 | networkctl: print the Gateway in the status output | Tom Gundersen | |
This is the IP address of the default route on the link, if present. A description is printed when available (the manufacturer of the gateway NIC based on its MAC address). In the future we should prefer LLDP information over MAC info. | |||
2014-11-28 | treewide: another round of simplifications | Michal Schmidt | |
Using the same scripts as in f647962d64e "treewide: yet more log_*_errno + return simplifications". | |||
2014-11-28 | treewide: use log_*_errno whenever %m is in the format string | Michal Schmidt | |
If the format string contains %m, clearly errno must have a meaningful value, so we might as well use log_*_errno to have ERRNO= logged. Using: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\((".*%m.*")/log_\1_errno(errno, \2/' Plus some whitespace, linewrap, and indent adjustments. | |||
2014-11-28 | treewide: yet more log_*_errno + return simplifications | Michal Schmidt | |
Using: find . -name '*.[ch]' | while read f; do perl -i.mmm -e \ 'local $/; local $_=<>; s/(if\s*\([^\n]+\))\s*{\n(\s*)(log_[a-z_]*_errno\(\s*([->a-zA-Z_]+)\s*,[^;]+);\s*return\s+\g4;\s+}/\1\n\2return \3;/msg; print;' $f done And a couple of manual whitespace fixups. | |||
2014-11-28 | treewide: no need to negate errno for log_*_errno() | Michal Schmidt | |
It corrrectly handles both positive and negative errno values. | |||
2014-11-28 | treewide: auto-convert the simple cases to log_*_errno() | Michal Schmidt | |
As a followup to 086891e5c1 "log: add an "error" parameter to all low-level logging calls and intrdouce log_error_errno() as log calls that take error numbers", use sed to convert the simple cases to use the new macros: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/' Multi-line log_*() invocations are not covered. And we also should add log_unit_*_errno(). | |||
2014-09-08 | networkctl: show the link file applied to each link | Tom Gundersen | |
2014-09-08 | networkctl: show the network file applied to each link | Tom Gundersen | |
2014-08-28 | networkctl: do not mix dns and ntp servers | Zbigniew Jędrzejewski-Szmek | |
2014-08-16 | networkctl: use safe_qsort in case no links are present | Thomas Hindoe Paaboel Andersen | |
Unlikely to happen but still... | |||
2014-08-15 | networkctl: show acquired system domains | Lennart Poettering | |
2014-08-15 | networkctl: two OOM fixes | Lennart Poettering | |
2014-08-15 | sd-network: add support for wildcard domains | Tom Gundersen | |
2014-08-15 | util: never use ether_ntoa(), since it formats with %x, not %02x, which ↵ | Lennart Poettering | |
makes ethernet addresses look funny | |||
2014-08-15 | networkctl: increase column width for link type to 18, to accomodate for ↵ | Lennart Poettering | |
'ieee80211_radiotap' | |||
2014-08-15 | networkctl: print local domain name in status output | Lennart Poettering | |
2014-08-14 | networkctl: also use the same color logic when running "networkctl status" ↵ | Lennart Poettering | |
without arguments | |||
2014-08-14 | networkctl: add the same color logic to "list" and "status" outputs | Lennart Poettering | |
And always put operational state first, setup state second. | |||
2014-08-14 | networkctl: name setup state variable setup_state | Lennart Poettering | |