[4/9] Revert "ip-up: Fixes bug12763"

Message ID 20240510120234.995049-4-michael.tremer@ipfire.org
State Staged
Commit b46314bf7aadc0dbe27ad64d877ddc8a6e67a611
Headers
Series [1/9] ipsec-interfaces: Don't throw away errors when creating routes |

Commit Message

Michael Tremer May 10, 2024, 12:02 p.m. UTC
  This reverts commit 4f455c488ee8542bea4ccbe439351b3e9973c6e4.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 src/ppp/ip-up | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Adolf Belka May 10, 2024, 3:23 p.m. UTC | #1
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>

On 10/05/2024 14:02, Michael Tremer wrote:
> This reverts commit 4f455c488ee8542bea4ccbe439351b3e9973c6e4.
>
> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
> ---
>   src/ppp/ip-up | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/ppp/ip-up b/src/ppp/ip-up
> index 5f4ee7726..2e636e72d 100644
> --- a/src/ppp/ip-up
> +++ b/src/ppp/ip-up
> @@ -33,7 +33,7 @@ echo -n "$4" > /var/ipfire/red/local-ipaddress
>   echo -n "$5" > /var/ipfire/red/remote-ipaddress
>   touch /var/ipfire/red/active
>   
> -/sbin/ip route replace default via ${IPREMOTE} dev ppp0 >/dev/null 2>&1
> +/sbin/ip route replace default via ${IPREMOTE} dev ppp0
>   run_subdir ${rc_base}/init.d/networking/red.up/
>   
>   #Check if gateway has answerd to ping, if not replace with ping.ipfire.org
  

Patch

diff --git a/src/ppp/ip-up b/src/ppp/ip-up
index 5f4ee7726..2e636e72d 100644
--- a/src/ppp/ip-up
+++ b/src/ppp/ip-up
@@ -33,7 +33,7 @@  echo -n "$4" > /var/ipfire/red/local-ipaddress
 echo -n "$5" > /var/ipfire/red/remote-ipaddress
 touch /var/ipfire/red/active
 
-/sbin/ip route replace default via ${IPREMOTE} dev ppp0 >/dev/null 2>&1
+/sbin/ip route replace default via ${IPREMOTE} dev ppp0
 run_subdir ${rc_base}/init.d/networking/red.up/
 
 #Check if gateway has answerd to ping, if not replace with ping.ipfire.org