-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dhcping in eclient image and update deps
Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com>
- Loading branch information
Showing
3 changed files
with
64 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
tests/eclient/image/patches/dhcping-1.2/0001-Fix-type-to-not-hit-endless-getopt-loop.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 27e74baf97c4669e14b8c690044ab979dc34b2ef Mon Sep 17 00:00:00 2001 | ||
From: Petr Fedchenkov <giggsoff@gmail.com> | ||
Date: Tue, 28 Jun 2022 10:54:24 +0300 | ||
Subject: [PATCH] Fix type to not hit endless getopt loop | ||
|
||
Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com> | ||
--- | ||
dhcping.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/dhcping.c b/dhcping.c | ||
index 7eb5ae6..cdce51c 100644 | ||
--- a/dhcping.c | ||
+++ b/dhcping.c | ||
@@ -70,7 +70,7 @@ unsigned char serveridentifier[4]; | ||
int maxwait=3; | ||
|
||
void doargs(int argc,char **argv) { | ||
- char ch; | ||
+ int ch; | ||
|
||
inform=request=verbose=VERBOSE=quiet=0; | ||
ci=gi=server="0.0.0.0"; | ||
-- | ||
2.34.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.15 as builder | ||
FROM golang:1.16-alpine as builder | ||
|
||
WORKDIR /app | ||
COPY mkconfig /app/mkconfig | ||
|