Changeset 33ff403 for LFS/lfs.xsl


Ignore:
Timestamp:
06/25/2016 02:39:47 PM (8 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
new_features
Children:
df42c7c
Parents:
04952c63
Message:

Adapt IP GATEWAY to book instructions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/lfs.xsl

    r04952c63 r33ff403  
    566566    <!-- We suppose that book example has the following values:
    567567         - interface: eth0
    568          - ip: 192.168.1.1
    569          - gateway: 192.168.1.2
     568         - ip: 192.168.1.2
     569         - gateway: 192.168.1.1
    570570         - prefix: 24
    571571         - broadcast: 192.168.1.255
     
    588588                          select="substring-before($netstring,'192.168.1.1')"/>
    589589        </xsl:call-template>
    590         <xsl:value-of select="$ip"/>
     590        <xsl:value-of select="$gateway"/>
    591591        <xsl:call-template name="outputnet">
    592592          <xsl:with-param name="netstring"
     
    612612                          select="substring-before($netstring,'192.168.1.2')"/>
    613613        </xsl:call-template>
    614         <xsl:value-of select="$gateway"/>
     614        <xsl:value-of select="$ip"/>
    615615        <xsl:call-template name="outputnet">
    616616          <xsl:with-param name="netstring"
Note: See TracChangeset for help on using the changeset viewer.