1From ded84ed583e9b0617bc35ab1798032d18b873144 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Mon, 29 Aug 2022 23:30:02 -0700 4Subject: [PATCH] l2tp_rpc_server.c: Add missing prototype for 5 l2tp_api_rpc_check_request 6 7Upstream-Status: Inappropriate [no upstream] 8 9Signed-off-by: Khem Raj <raj.khem@gmail.com> 10--- 11 Makefile | 1 + 12 1 file changed, 1 insertion(+) 13 14diff --git a/Makefile b/Makefile 15index 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-- 272.37.2 28 29