Jump to content
  • 0

Switch Case


Charles-François D.

Question

Hi,

Having trouble with a simple switch case where it never work :

{{#switch: {{{Gateway}}} 
| 255.255.255.252 = /30 
| 255.255.255.248 = /29 
| 255.255.255.240 = /28 
| 255.255.255.224 = /27 
| 255.255.255.192 = /26 
| 255.255.255.128 = /25 
| 255.255.255.0 = /24 
| 255.255.254.0 = /23 
| 255.255.252.0 = /22 
| 255.255.248.0 = /21 
| 255.255.240.0 = /20 
| 255.255.224.0 = /19 
| 255.255.192.0 = /18 
| 255.255.128.0 = /17 
| 255.255.0.0 = /16 
| /?
}}

I give the exact same gateway as one of these and it is still returning the default value : /?

There is something missing to my understanding, if someone can make light on this...

Thanks !

 

Charles

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.