treewide: Fix typo in ARPHRD_PHONET_PIPE
PATCH 1/1 treewide: Fix typo in ARPHRD_PHONET_PIPE
This was spelled as 'ARPHDR', but should be 'ARPHRD'
--- src/rtnl.c | 8 ++++---- vpn/vpn-rtnl.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-)
src/rtnl.c +4 -4
@@ -42,8 +42,8 @@#include "connman.h" -#ifndef ARPHDR_PHONET_PIPE -#define ARPHDR_PHONET_PIPE (821) +#ifndef ARPHRD_PHONET_PIPE +#define ARPHRD_PHONET_PIPE (821)#endif #define print(arg...) do { if (0) connman_info(arg); } while (0)
@@ -448,7 +448,7 @@ static void process_newlink(unsigned short type, int index, unsigned flags,switch (type) {case ARPHRD_ETHER :case ARPHRD_LOOPBACK : -case ARPHDR_PHONET_PIPE : +case ARPHRD_PHONET_PIPE :case ARPHRD_PPP :case ARPHRD_NONE : __connman_ipconfig_newlink(index, type, flags,
@@ -536,7 +536,7 @@ static void process_dellink(unsigned short type, int index, unsigned flags,switch (type) {case ARPHRD_ETHER :case ARPHRD_LOOPBACK : -case ARPHDR_PHONET_PIPE : +case ARPHRD_PHONET_PIPE :case ARPHRD_PPP :case ARPHRD_NONE :__connman_ipconfig_dellink (index, &stats);
vpn/vpn-rtnl.c +3 -3
@@ -46,8 +46,8 @@#include "vpn-rtnl.h" -#ifndef ARPHDR_PHONET_PIPE -#define ARPHDR_PHONET_PIPE (821) +#ifndef ARPHRD_PHONET_PIPE +#define ARPHRD_PHONET_PIPE (821)#endif #define print(arg...) do { if (0) connman_info(arg); } while (0)
@@ -239,7 +239,7 @@ static void process_newlink(unsigned short type, int index, unsigned flags,switch (type) {case ARPHRD_ETHER :case ARPHRD_LOOPBACK : -case ARPHDR_PHONET_PIPE : +case ARPHRD_PHONET_PIPE :case ARPHRD_NONE :__vpn_ipconfig_newlink (index, type, flags, str, mtu, &stats);
Signature · 1 line
2.47.0
This patch was applied to connman.git (master) by Denis Kenzior <[email protected]>:
Hello:
This patch was applied to connman.git (master)
by Denis Kenzior <[email protected]>:
Quoted 5 lines · On Mon, 18 Nov 2024 10:33:31 -0600 you wrote:
This was spelled as 'ARPHDR', but should be 'ARPHRD'
--- src/rtnl.c | 8 ++++---- vpn/vpn-rtnl.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-)
Here is the summary with links:
- treewide: Fix typo in ARPHRD_PHONET_PIPE
https://git.kernel.org/pub/scm/network/connman/connman.git/?id=263e151fcfb0
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html