1
0
mirror of https://github.com/DigitalDevices/octonet.git synced 2023-10-10 11:36:52 +00:00

use seperate patch directory for our own buildroot patches

bump octoserve version
This commit is contained in:
Ralph Metzler
2016-11-17 16:38:41 +01:00
parent a0e2ee78dc
commit 88574173d9
7 changed files with 17 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
diff -rup busybox-1.23.1.orig/networking/zcip.c busybox-1.23.1/networking/zcip.c
--- busybox-1.23.1.orig/networking/zcip.c 2015-01-27 09:48:58.000000000 +0100
+++ busybox-1.23.1/networking/zcip.c 2016-04-13 15:36:12.255391459 +0200
@@ -521,7 +521,7 @@ int zcip_main(int argc UNUSED_PARAM, cha
target_ip_conflict = 0;
if (memcmp(&p.arp.arp_sha, &eth_addr, ETH_ALEN) != 0) {
- if (memcmp(p.arp.arp_spa, &ip.s_addr, sizeof(struct in_addr))) {
+ if (memcmp(p.arp.arp_spa, &ip.s_addr, sizeof(struct in_addr)) == 0) {
/* A probe or reply with source_ip == chosen ip */
source_ip_conflict = 1;
}