Files
integ/base/dhcp/debian/bullseye/deb_patches/0003-Use-prefixlen-for-IPv6-address-operations.patch
pmp1 6cfb528a43 Update integ/base packages for Bullseye
Aligned the package layout with the concurrent Debian packaging
conventions. Relocated package files under 'debian/bullseye/' and removed legacy paths under 'debian/'.

Updated related build references to ensure compatibility with Bullseye.
ca-certificate
cluster-resource-agents
dhcp
dnsmasq
haproxy
libfdt
lighttpd
linuxptp
lvm2
lsb
openssl
pf-bb-config
stalld
synce4l
systemd
watchdog

Change-Id: Id31c289b6504433f2b739be614022cfed0c2a9b8
Signed-off-by: pmp1 <preetham.mp@windriver.com>
2025-11-18 23:05:43 -05:00

41 lines
1.2 KiB
Diff

From 42a0e83df41494cc67157f98b18a4087f6853911 Mon Sep 17 00:00:00 2001
From: Andre Fernando Zanella Kantek
<AndreFernandoZanella.Kantek@windriver.com>
Date: Thu, 1 Sep 2022 10:05:09 -0300
Subject: [PATCH] Use prefixlen for IPv6 address operations
use the prefix length variable available to the script to correctly
set the address passed by the dhclient program.
Signed-off-by: Andre Fernando Zanella Kantek <AndreFernandoZanella.Kantek@windriver.com>
---
debian/dhclient-script.linux | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/dhclient-script.linux b/debian/dhclient-script.linux
index 8b29988..915cc13 100644
--- a/debian/dhclient-script.linux
+++ b/debian/dhclient-script.linux
@@ -403,7 +403,7 @@ case "$reason" in
if [ "${new_ip6_address}" ]; then
# set leased IP
- ip -6 addr add ${new_ip6_address} \
+ ip -6 addr add ${new_ip6_address}/${new_ip6_prefixlen} \
dev ${interface} scope global
fi
@@ -429,7 +429,7 @@ case "$reason" in
fi
# delete leased IP
- ip -6 addr del ${old_ip6_address} \
+ ip -6 addr del ${old_ip6_address}/${old_ip6_prefixlen} \
dev ${interface}
;;
--
2.17.1