Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zebra: fix wrong linkdown flag #17403

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 10, 2024

  1. zebra: fix wrong linkdown flag

    Add this one line command to one down interface (mask is 192.168.0.0/24):
    ```
    ip link set dev enp2s0 up;ip route add 3.3.3.3/32 via 192.168.0.1 dev enp2s0 proto kernel onlink
    ```
    
    Before:
    ```
    K>* 3.3.3.3/32 [0/0] via 192.168.0.1, enp2s0 onlink linkdown, weight 1, 00:00:02
    ```
    
    After:
    ```
    K>* 3.3.3.3/32 [0/0] via 192.168.0.1, enp2s0 onlink, weight 1, 00:00:02
    ```
    
    It's only display problem, just correct this linkdown flag.
    
    Signed-off-by: anlan_cs <[email protected]>
    anlancs committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    61a042f View commit details
    Browse the repository at this point in the history