Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ppp/usr.sbin/pppd New arp code needs RTF_LLDATA...



details:   https://anonhg.NetBSD.org/src/rev/7e79f7edbc8b
branches:  trunk
changeset: 320453:7e79f7edbc8b
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jul 08 21:01:21 2018 +0000

description:
New arp code needs RTF_LLDATA for DELETE to work!
XXX: pullup-8

diffstat:

 external/bsd/ppp/usr.sbin/pppd/sys-bsd.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r edacb68ab0a3 -r 7e79f7edbc8b external/bsd/ppp/usr.sbin/pppd/sys-bsd.c
--- a/external/bsd/ppp/usr.sbin/pppd/sys-bsd.c  Sun Jul 08 20:29:08 2018 +0000
+++ b/external/bsd/ppp/usr.sbin/pppd/sys-bsd.c  Sun Jul 08 21:01:21 2018 +0000
@@ -1679,7 +1679,7 @@
     }
 
     arpmsg.hdr.rtm_type = RTM_ADD;
-    arpmsg.hdr.rtm_flags = RTF_ANNOUNCE | RTF_HOST | RTF_STATIC;
+    arpmsg.hdr.rtm_flags = RTF_ANNOUNCE | RTF_HOST | RTF_STATIC | RTF_LLDATA;
     arpmsg.hdr.rtm_version = RTM_VERSION;
     arpmsg.hdr.rtm_seq = ++rtm_seq;
     arpmsg.hdr.rtm_addrs = RTA_DST | RTA_GATEWAY;



Home | Main Index | Thread Index | Old Index