summaryrefslogtreecommitdiff
path: root/scripts/package-build/wide-dhcpv6/patches/0024-bind-to-single-socket.patch
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-22 12:00:10 +0100
committerChristian Breunig <christian@breunig.cc>2024-12-22 16:22:21 +0100
commit53ceb249883ed0dafef2c30db6ff9bef621aba1e (patch)
tree0dc579c5379bcc9af70943344076d066d9f9e253 /scripts/package-build/wide-dhcpv6/patches/0024-bind-to-single-socket.patch
parent6aa3bb5fa833a87ee69f8b77be9d48647601e3b9 (diff)
downloadvyos-build-53ceb249883ed0dafef2c30db6ff9bef621aba1e.tar.gz
vyos-build-53ceb249883ed0dafef2c30db6ff9bef621aba1e.zip
T6674: move patches to "package/<package_name>" subfolder
This prevents the accidental applying of a patch to multiple source directories defined in package.toml. Example FRR: Package consits of build instructions for libyang, rtrlib and frr itself. Previously patches in frr/patches folder got applied to libyang, rtrlib and frr which made no sense and could also fail a build.
Diffstat (limited to 'scripts/package-build/wide-dhcpv6/patches/0024-bind-to-single-socket.patch')
-rw-r--r--scripts/package-build/wide-dhcpv6/patches/0024-bind-to-single-socket.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/package-build/wide-dhcpv6/patches/0024-bind-to-single-socket.patch b/scripts/package-build/wide-dhcpv6/patches/0024-bind-to-single-socket.patch
deleted file mode 100644
index b5751325..00000000
--- a/scripts/package-build/wide-dhcpv6/patches/0024-bind-to-single-socket.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/dhcp6c.c b/dhcp6c.c
-index 1caaaa5..04ce9c5 100644
---- a/dhcp6c.c
-+++ b/dhcp6c.c
-@@ -217,6 +217,12 @@ main(argc, argv)
- argv[0]);
- exit(1);
- }
-+
-+ if (setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, argv[0], strlen(argv[0])) != 0) {
-+ debug_printf(LOG_ERR, FNAME, "failed to bind %s", argv[0]);
-+ exit(1);
-+ }
-+
- argv++;
- }
-