]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkd: cleanup for #10542
authorTobias Jungel <tobias.jungel@bisdn.de>
Tue, 6 Nov 2018 08:55:35 +0000 (09:55 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 6 Nov 2018 13:42:12 +0000 (16:42 +0300)
fixes: 53b1f7d

man/systemd.netdev.xml
src/network/netdev/bond.c
src/network/netdev/netdev-gperf.gperf
test/test-network/conf/25-bond.netdev

index c690786130b6c419ea8f2bee8a8376c1294471b4..11baf3c4c7d908826bb6743b70eab049b9c967e1 100644 (file)
       </varlistentry>
 
       <varlistentry>
-        <term><varname>AdActorSysPrio=</varname></term>
+        <term><varname>AdActorSystemPriority=</varname></term>
         <listitem>
-          <para>Specifies the 802.3ad system priority. Ranges [1-65535].</para>
+          <para>Specifies the 802.3ad actor system priority. Ranges [1-65535].</para>
         </listitem>
       </varlistentry>
 
index 248b7b4eef1610d82f33f5dd356a91a61b17fe12..70d314bc7949019652a2814fb61da06c10371954 100644 (file)
@@ -414,7 +414,7 @@ int config_parse_ad_actor_sys_prio(const char *unit,
         }
 
         if (v == 0) {
-                log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse actor system priority '%s'. Range is [1,65535], ignoring: %m", rvalue);
+                log_syntax(unit, LOG_ERR, filename, line, 0, "Failed to parse actor system priority '%s'. Range is [1,65535], ignoring.", rvalue);
                 return 0;
         }
 
@@ -449,7 +449,7 @@ int config_parse_ad_user_port_key(const char *unit,
         }
 
         if (v > 1023) {
-                log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse user port key '%s'. Range is [0,1023], ignoring: %m", rvalue);
+                log_syntax(unit, LOG_ERR, filename, line, 0, "Failed to parse user port key '%s'. Range is [0,1023], ignoring.", rvalue);
                 return 0;
         }
 
@@ -488,7 +488,7 @@ int config_parse_ad_actor_system(const char *unit,
         }
 
         if (ether_addr_is_null(n) || (n->ether_addr_octet[0] & 0x01)) {
-                log_syntax(unit, LOG_ERR, filename, line, r, "Not a valid MAC address %s, can not be null or multicast. Ignoring assignment: %m", rvalue);
+                log_syntax(unit, LOG_ERR, filename, line, 0, "Not a valid MAC address %s, can not be null or multicast. Ignoring assignment.", rvalue);
                 return 0;
         }
 
index 4cf92204ba3a1881a911cbbcc8e371bb19e2fef6..61d73e15ffd01140ec699b883a10927c0f1c4c51 100644 (file)
@@ -143,7 +143,7 @@ Bond.UpDelaySec,                   config_parse_sec,                     0,
 Bond.DownDelaySec,                 config_parse_sec,                     0,                             offsetof(Bond, downdelay)
 Bond.ARPIntervalSec,               config_parse_sec,                     0,                             offsetof(Bond, arp_interval)
 Bond.LearnPacketIntervalSec,       config_parse_sec,                     0,                             offsetof(Bond, lp_interval)
-Bond.AdActorSysPrio,               config_parse_ad_actor_sys_prio,       0,                             offsetof(Bond, ad_actor_sys_prio)
+Bond.AdActorSystemPriority,        config_parse_ad_actor_sys_prio,       0,                             offsetof(Bond, ad_actor_sys_prio)
 Bond.AdUserPortKey,                config_parse_ad_user_port_key,        0,                             offsetof(Bond, ad_user_port_key)
 Bond.AdActorSystem,                config_parse_ad_actor_system,         0,                             offsetof(Bond, ad_actor_system)
 Bridge.HelloTimeSec,               config_parse_sec,                     0,                             offsetof(Bridge, hello_time)
index 61c54c4de0630ec8c69aacf96eb19838037793bb..4e4885c44c7a0cbed44e8084a32a41f890fe455a 100644 (file)
@@ -11,7 +11,7 @@ UpDelaySec=2s
 DownDelaySec=2s
 ResendIGMP=4
 MinLinks=1
-AdActorSysPrio=1218
+AdActorSystemPriority=1218
 AdUserPortKey=811
 AdActorSystem=00:11:22:33:44:55
 # feed the sanitizer