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/3ceb2764479b
branches: trunk
changeset: 363035:3ceb2764479b
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 367e3db43c40 -r 3ceb2764479b 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