Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 1 | From ded84ed583e9b0617bc35ab1798032d18b873144 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 29 Aug 2022 23:30:02 -0700 |
| 4 | Subject: [PATCH] l2tp_rpc_server.c: Add missing prototype for |
| 5 | l2tp_api_rpc_check_request |
| 6 | |
| 7 | Upstream-Status: Inappropriate [no upstream] |
| 8 | |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | --- |
| 11 | Makefile | 1 + |
| 12 | 1 file changed, 1 insertion(+) |
| 13 | |
| 14 | diff --git a/Makefile b/Makefile |
| 15 | index 0815b31..2fa5b2f 100644 |
| 16 | --- a/Makefile |
| 17 | +++ b/Makefile |
| 18 | @@ -236,6 +236,7 @@ endif |
| 19 | -$(RM) $@ $@.tmp |
| 20 | $(RPCGEN) $(RPCGENFLAGS) -m -o $@.tmp $< |
| 21 | cat $@.tmp | sed -e 's/switch (rqstp->rq_proc) {/if (l2tp_api_rpc_check_request(transp) < 0) return; switch (rqstp->rq_proc) {/' > $@ |
| 22 | + sed -i '21i int l2tp_api_rpc_check_request(SVCXPRT *xprt);' $@ |
| 23 | |
| 24 | %_client.c: %.x |
| 25 | -$(RM) $@ |
| 26 | -- |
| 27 | 2.37.2 |
| 28 | |