Skip to content

Commit

Permalink
Merge pull request #35 from gabi2/Code-11-SP4
Browse files Browse the repository at this point in the history
filter out scope link IPv6 address (Code 11 SP4)
  • Loading branch information
gabi2 committed Mar 5, 2015
2 parents 92377ef + e6a101c commit 758f973
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.17.13
2.17.14
7 changes: 7 additions & 0 deletions package/yast2-iscsi-lio-server.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Feb 24 09:53:45 CET 2015 - gs@suse.de

- 2.17.14
- filter out Scope:Link IPv6 address (related to fate #314804)
- add description to spec file

-------------------------------------------------------------------
Wed Jan 14 10:24:36 CET 2015 - gs@suse.de

Expand Down
4 changes: 3 additions & 1 deletion src/IscsiLioData.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,9 @@ global list<string> GetIpAddr()
}
return(s);
});
ls = filter( string s, ls, ``(substring( s, 0, 4 )!="127." && substring( s, 0, 3 ) != "::1") );
ls = filter( string s, ls, ``(substring( s, 0, 4 ) != "127."&& // lo IPv4
substring( s, 0, 3 ) != "::1" && // lo IPv6
substring( s, 0, 5 ) != "fe80:") ); // scope link IPv6
if( size(ls)==0 )
ls = add( ls, "" );
y2milestone( "GetIpAddr ls:%1", ls );
Expand Down
2 changes: 1 addition & 1 deletion yast2-iscsi-lio-server.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BuildArchitectures: noarch
Summary: Configuration of iSCSI LIO target

%description
-
This package contains configuration of iSCSI LIO targets.

@PREP@

Expand Down

0 comments on commit 758f973

Please sign in to comment.