Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-17 | sd-dhcp-client: readd deleted error check | Thomas Hindoe Paaboel Andersen | |
Seems to have been removed by mistake in: 9021bb9f935c93b516b10c88db2a212a9e3a8140 | |||
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-10 | libsystemd-network: use domain validation instead of hostname validation for ↵ | Nick Owens | |
dhcp domain option previously hostname_is_valid was used to validate domain names, which would silently drop perfectly valid dns names that were longer than a single dns label. | |||
2015-06-10 | util: introduce CMSG_FOREACH() macro and make use of it everywhere | Lennart Poettering | |
It's only marginally shorter then the usual for() loop, but certainly more readable. | |||
2015-06-08 | tree-wide: remove spurious space | Thomas Hindoe Paaboel Andersen | |
2015-05-21 | json: minor style fixessystemd/v220 | Lennart Poettering | |
2015-05-19 | dhcp-identifier: fix for unaligned write | Tom Gundersen | |
Reported by Michael Olbrich. | |||
2015-05-18 | util: split all hostname related calls into hostname-util.c | Lennart Poettering | |
2015-04-21 | dhcp6: remove unnecessary if check | Lennart Poettering | |
2015-04-14 | test-dhcp6-client: don't unref the event twice | Thomas Hindoe Paaboel Andersen | |
2015-04-14 | sd-dhcp6-client: unref lease when freeing the client | Thomas Hindoe Paaboel Andersen | |
2015-04-13 | test-ipv4ll: clean up the event | Thomas Hindoe Paaboel Andersen | |
shuts up valgrind/sanitizers | |||
2015-04-12 | dhcp: yes, infiniband has the larger MAC address length, but let the ↵ | Lennart Poettering | |
compuler figure that out... | |||
2015-04-11 | shared: add random-util.[ch] | Ronny Chevalier | |
2015-04-10 | shared: add process-util.[ch] | Ronny Chevalier | |
2015-04-10 | Revert "sd-dhcp-client: fix strict aliasing issue" | Lennart Poettering | |
This reverts commit 6ec8e7c763b7dfa82e25e31f6938122748d1608f. This doesn't fix any issues, just makes the code harder to read. | |||
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-14 | sd-dhcp-client: fix strict aliasing issue | Shawn Landden | |
2015-03-13 | test-dhcp-option: conform to usual coding style | Zbigniew Jędrzejewski-Szmek | |
2015-03-13 | test-dhcp-option: add assert to check index is nonnegative | Zbigniew Jędrzejewski-Szmek | |
CID #1237623. | |||
2015-03-13 | Use space after a silencing (void) | Zbigniew Jędrzejewski-Szmek | |
We were using a space more often than not, and this way is codified in CODING_STYLE. | |||
2015-03-13 | tree-wide: there is no ENOTSUP on linux | David Herrmann | |
Replace ENOTSUP by EOPNOTSUPP as this is what linux actually uses. | |||
2015-03-12 | sd-pppoe: workaround for incomplete include in old kernels | Zbigniew Jędrzejewski-Szmek | |
2015-03-04 | sd-dhcp6-client: delay setting the DUID and don't fail constructor | Thomas Haller | |
sd_dhcp6_client_new() tried to set the DUID based on the machine id. If the host has no /etc/machine-id, the constructor would fail making it impossible to create an sd_dhcp6_client instance. Relax this and create a DUID only later as needed. This way a caller caller can workaround a missing machine-id file and set a DUID of his choosing via sd_dhcp6_client_set_duid(). | |||
2015-02-23 | remove unused includes | Thomas Hindoe Paaboel Andersen | |
This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use. | |||
2015-02-16 | Transpose args in strv_fnmatch() to be more oo | Zbigniew Jędrzejewski-Szmek | |
2015-02-16 | test-network: fix segfault with NULL dev_path/driver/type/name | Zbigniew Jędrzejewski-Szmek | |
2015-02-16 | network-internal: chain matches with AND in net_match_config() | Zbigniew Jędrzejewski-Szmek | |
The test would treat the first non-empty set of matches in match_paths, match_drivers, match_types, match_names as definitive (essentially chaining them with OR). Make those tests instead match like other tests and require all to pass if the set of patterns is nonempty. | |||
2015-02-16 | Add helper for fnmatch over strv | Zbigniew Jędrzejewski-Szmek | |
2015-02-12 | Add missing includes in header files | Thomas Hindoe Paaboel Andersen | |
This fixes various issues found by globally reordering the include sections of all .c files. | |||
2015-02-12 | Revert "tree-wide: Always use recvmsg with MSG_CMSG_CLOEXEC" | Lennart Poettering | |
This reverts commit d6d810fbf8071f8510450dbacd1d083f37603656. It's apparently not OK to pass MSG_CMSG_CLOEXEC to recvmsg() of raw sockets. | |||
2015-02-11 | network-internal: fix inverted matching | Tom Gundersen | |
This fixes the test-suite again. | |||
2015-02-10 | net: support globbing and disjunction in Match logic | Tom Gundersen | |
Match{Name,OrginalName,Type,Driver,Path} can now take a space-separated glob of matches. | |||
2015-02-10 | tree-wide: Always use recvmsg with MSG_CMSG_CLOEXEC | Cristian Rodríguez | |
2015-02-10 | test-lldp: fix minor OOM | Lennart Poettering | |
2015-02-10 | test-lldp: initialize structs when we define them | Lennart Poettering | |
2015-02-10 | test-lldp: use strndup() where possible | Lennart Poettering | |
2015-02-10 | libsystemd-network: Avoid potential NULL dereference in test-lldp | Philippe De Swert | |
As a malloc0 could fail, doing a strncpy without checking could cause issues. Adding an assert should be good enough and in line with other similar routines in the code. Found with Coverity Fixes: CID#1261402 | |||
2015-02-09 | treewide: correct typos and use consistent "MAC" spelling | Torstein Husebø | |
2015-02-02 | test-dhcp-client: add a kludge to make valgrind happy | Zbigniew Jędrzejewski-Szmek | |
2015-02-02 | test-dhcp-client: open a real udp socket for test execution | Zbigniew Jędrzejewski-Szmek | |
./test-dhcp-client would attempt to operate fd 0, i.e. stdin. For example, './test-dhcp-client </dev/null' would fail with EPERM because /dev/null cannot be used with epoll. https://bugzilla.redhat.com/show_bug.cgi?id=1076119 | |||
2015-01-31 | test-dhcp-client: remove linebreak | Zbigniew Jędrzejewski-Szmek | |
2015-01-28 | sd-dhcp: chop of trailing dot of DHCP supplied host and domain nams | Lennart Poettering | |
2015-01-27 | sd-icmp6-nd: Add support for fetching the latest expired prefix | Patrik Flykt | |
Keep the expired prefix for the duration of the prefix expiration event and remove it afterwards. | |||
2015-01-27 | test-icmp6-nd: Add test cases for prefixes | Patrik Flykt | |
Add test cases that feeds an Router Advertisement to the ICMPv6 code and verify that the correct prefix lengths are returned given an IPv6 address. Enhance the prefix verification test by adding a shorter prefix and check that the intended prefix lengths are now updated. | |||
2015-01-27 | sd-icmp6-nd: Parse ICMPv6 prefix information | Patrik Flykt | |
Save each new onlink IPv6 prefix and attach an expiry timer to it. If the prefixes overlap, take the shorter prefix and write a debug message about the event. Once the prefix is resent in a Router Advertisement, update the timer. Add a new event for the expiring prefix. Add two helper functions, one for returning a prefix length given a Router Advertisement and the other for generic prefix matching given an IPv6 prefix and address. | |||
2015-01-27 | test-icmp6-rs: Add trivial test case for an MTU that is not present | Patrik Flykt | |
2015-01-27 | sd-icmp6-nd: Add helper function to get the IPv6 link MTU | Patrik Flykt | |
Update MTU according to the latest value received. | |||
2015-01-27 | sd-icmp6-nd: Add link and prefix structures for ICMPv6 | Patrik Flykt | |
Each ICMPv6 structure has an interface index and will therefore be associated with an IPv6 link containing a list of of prefixes. |