diff options
author | Mikko Rapeli <mikko.rapeli@bmw.de> | 2020-09-05 20:29:49 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-09-08 11:53:53 -0700 |
commit | 21afab4609d081413971fc5813548d56afeb8eb9 (patch) | |
tree | 86d0a1a566cbec3fbd3f26ec228b0a07ad77d6cc /meta-networking/recipes-protocols/mdns/files/0001-Create-subroutine-for-cleaning-recent-interfaces.patch | |
parent | c1592909204eee5a9b7ec2ef556007d243c86f34 (diff) | |
download | meta-openembedded-21afab4609d081413971fc5813548d56afeb8eb9.tar.gz |
mdns: update to version 1096.40.7
Refresh Makefile patch (build.patch) to properly cross compile
mdns. Then try refresh patches which still apply. Following patches
don't apply anymore due to refactoring done on mdns side so thus
dropping patches:
* 0005-Handle-noisy-netlink-sockets.patch
* 0007-Indicate-loopback-interface-to-mDNS-core.patch
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols/mdns/files/0001-Create-subroutine-for-cleaning-recent-interfaces.patch')
-rw-r--r-- | meta-networking/recipes-protocols/mdns/files/0001-Create-subroutine-for-cleaning-recent-interfaces.patch | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/meta-networking/recipes-protocols/mdns/files/0001-Create-subroutine-for-cleaning-recent-interfaces.patch b/meta-networking/recipes-protocols/mdns/files/0001-Create-subroutine-for-cleaning-recent-interfaces.patch index 692c344db9..f8efc10448 100644 --- a/meta-networking/recipes-protocols/mdns/files/0001-Create-subroutine-for-cleaning-recent-interfaces.patch +++ b/meta-networking/recipes-protocols/mdns/files/0001-Create-subroutine-for-cleaning-recent-interfaces.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 89ea6ac4a8840e8c2be0140a9805c6522c6c5280 Mon Sep 17 00:00:00 2001 | 1 | From 6d90f9fdaf008f5c3b8fd8d91594fa1461437888 Mon Sep 17 00:00:00 2001 |
2 | From: Nate Karstens <nate.karstens@garmin.com> | 2 | From: Nate Karstens <nate.karstens@garmin.com> |
3 | Date: Wed, 28 Jun 2017 17:30:00 -0500 | 3 | Date: Wed, 28 Jun 2017 17:30:00 -0500 |
4 | Subject: [PATCH 01/11] Create subroutine for cleaning recent interfaces | 4 | Subject: [PATCH] Create subroutine for cleaning recent interfaces |
5 | 5 | ||
6 | Moves functionality for cleaning the list of recent | 6 | Moves functionality for cleaning the list of recent |
7 | interfaces into its own subroutine. | 7 | interfaces into its own subroutine. |
@@ -10,14 +10,14 @@ Upstream-Status: Submitted [dts@apple.com] | |||
10 | 10 | ||
11 | Signed-off-by: Nate Karstens <nate.karstens@garmin.com> | 11 | Signed-off-by: Nate Karstens <nate.karstens@garmin.com> |
12 | --- | 12 | --- |
13 | mDNSPosix/mDNSPosix.c | 24 ++++++++++++++---------- | 13 | mDNSPosix/mDNSPosix.c | 23 ++++++++++++++--------- |
14 | 1 file changed, 14 insertions(+), 10 deletions(-) | 14 | 1 file changed, 14 insertions(+), 9 deletions(-) |
15 | 15 | ||
16 | diff --git a/mDNSPosix/mDNSPosix.c b/mDNSPosix/mDNSPosix.c | 16 | diff --git a/mDNSPosix/mDNSPosix.c b/mDNSPosix/mDNSPosix.c |
17 | index 0e10bd5..ffc9696 100644 | 17 | index a63cd19..7aeee7b 100755 |
18 | --- a/mDNSPosix/mDNSPosix.c | 18 | --- a/mDNSPosix/mDNSPosix.c |
19 | +++ b/mDNSPosix/mDNSPosix.c | 19 | +++ b/mDNSPosix/mDNSPosix.c |
20 | @@ -856,6 +856,19 @@ mDNSlocal int SetupSocket(struct sockaddr *intfAddr, mDNSIPPort port, int interf | 20 | @@ -1199,6 +1199,19 @@ mDNSlocal int SetupSocket(struct sockaddr *intfAddr, mDNSIPPort port, int interf |
21 | return err; | 21 | return err; |
22 | } | 22 | } |
23 | 23 | ||
@@ -37,11 +37,10 @@ index 0e10bd5..ffc9696 100644 | |||
37 | // Creates a PosixNetworkInterface for the interface whose IP address is | 37 | // Creates a PosixNetworkInterface for the interface whose IP address is |
38 | // intfAddr and whose name is intfName and registers it with mDNS core. | 38 | // intfAddr and whose name is intfName and registers it with mDNS core. |
39 | mDNSlocal int SetupOneInterface(mDNS *const m, struct sockaddr *intfAddr, struct sockaddr *intfMask, const char *intfName, int intfIndex) | 39 | mDNSlocal int SetupOneInterface(mDNS *const m, struct sockaddr *intfAddr, struct sockaddr *intfMask, const char *intfName, int intfIndex) |
40 | @@ -1010,16 +1023,7 @@ mDNSlocal int SetupInterfaceList(mDNS *const m) | 40 | @@ -1388,15 +1401,7 @@ mDNSlocal int SetupInterfaceList(mDNS *const m) |
41 | |||
42 | // Clean up. | 41 | // Clean up. |
43 | if (intfList != NULL) free_ifi_info(intfList); | 42 | if (intfList != NULL) freeifaddrs(intfList); |
44 | - | 43 | |
45 | - // Clean up any interfaces that have been hanging around on the RecentInterfaces list for more than a minute | 44 | - // Clean up any interfaces that have been hanging around on the RecentInterfaces list for more than a minute |
46 | - PosixNetworkInterface **ri = &gRecentInterfaces; | 45 | - PosixNetworkInterface **ri = &gRecentInterfaces; |
47 | - const mDNSs32 utc = mDNSPlatformUTC(); | 46 | - const mDNSs32 utc = mDNSPlatformUTC(); |
@@ -56,5 +55,5 @@ index 0e10bd5..ffc9696 100644 | |||
56 | return err; | 55 | return err; |
57 | } | 56 | } |
58 | -- | 57 | -- |
59 | 2.17.1 | 58 | 2.20.1 |
60 | 59 | ||